curl post json请求

curl -H "Content-Type:application/json" -X POST -d '{"service":10,"partId":"2354325235"}' 'http://www.baidu.ad/getapi'

你可能感兴趣的:(linux,linux命令)