curl -X POST http://xxxx/xx -h “args” -d “args”
-X 请求方式(post/get)
-h 设置header中内容 (Content-Type:application/json)
-d 请求参数(比如json{“id”:1})
curl -X POST http://xxxx/xx -h “args” -d “args”
-X 请求方式(post/get)
-h 设置header中内容 (Content-Type:application/json)
-d 请求参数(比如json{“id”:1})