版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq6759/article/details/81206691
curl linux命令,curl命令,curl请求,curl -d,curl -H,使用curl命令,Linux curl命令
curl [option] [url] 使用curl命令(通过-d参数,把访问参数放后面)
curl -d 'param1=value1¶m1=value2' 'http://xxx.com'
curl POST请求 参数类型json
curl -H "Content-type: application/json" -X POST -d '{account: "xxx", password: "xxx"}' 'http://dongsir.cn'