curl命令

基本使用

-H 设置header
-d 后接responseBody,并且以post形式发送

curl -H 'Content-Type: application/json' -d '{"xx": 1}' http://localhost:xxx
posted @ 2021-01-16 04:03  正义的五毛  阅读(127)  评论(0)    收藏  举报