curl命令模拟POST/GET请求

curl发送GET请求: curl protocol://address:port/url?args
curl发送POST请求: curl -d "args" protocol://address:port/url
curl发送POST请求: curl -H "Content-Type:application/json" -XPOST -d '{}' URL

posted @ 2020-09-26 20:56  crazy-zz5536  阅读(590)  评论(0编辑  收藏  举报