CURL 发送请求

curl -H "Content-Type: application/json" -X POST -d '{"user_id": "123", "coin":100, "success":1, "msg":"OK!" }' "[http://192.168.0.1:8001/test](http://192.168.0.1:8001/test)"

-H 请求头
-d POST内容
-X 请求协议

你可能感兴趣的:(CURL 发送请求)