格式1curl https:curl https://www.baidu.com
上面命令向www.baidu.com发出 GET 请求,服务器返回的内容会在命令行输出。
常用参数-d:使用-d参数向服务器发送POST请求的数据体1curl
2022-07-04