curl的GET和POST示例

GET方式

curl "www.baidu.com"

POST方式;application/json参数类型

curl -H "Content-Type: application/json" -X POST -d '{"time":"2021-01-17 00:00:00"}' "http://127.0.0.1:80/api/232131?appKey=3e213213e8&signature=6dcc32131ce98ef6c8&serviceCode=dfs3g"

发表评论

邮箱地址不会被公开。 必填项已用*标注