curl

get

curl -G http://www.xxxx.com/show?userId=111

post

curl -d "username=sunnyxd&password=12345" http://www.xxxx.com/show

https://stackoverflow.com/questions/14978411/http-post-and-get-using-curl-in-linux

posted @ 2021-08-27 19:24  玉北  阅读(7)  评论(0编辑  收藏  举报