CURL请求
CURL 发送POST请求
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"
参数 内容
-H 请求头
-d POST内容
-X 请求协议
简介
curl 是常用的命令行工具,用来请求 Web 服务器。它的名字就是客户端(client)的 URL 工具的意思。它的功能
转载
2022-01-26 18:10:25 ·
556 阅读 ·
0 评论