linux 使用 curl 命令 get post 请求

浅浅的花香味﹌ 2022-12-28 11:09 325阅读 0赞

CURL是一个利用URL语法在命令行下工作的文件传输工具

GET请求

  1. curl http://192.168.3.1:8080/authou/config/student/page

POST请求

  1. curl http://192.168.3.1:8080/authou/config/student/page -X POST -d '{"pageIndex": "1", "pageSize":"20"}' --header "Content-Type: application/json"

发表评论

表情:
评论列表 (有 0 条评论,325人围观)

还没有评论,来说两句吧...

相关阅读