HTTP POST and GET using cURL in Linux [duplicate]

https://stackoverflow.com/questions/14978411/http-post-and-get-using-curl-in-linux
POST
curl -d "username=admin&password=admin&submit=Login" --dump-header headers http://localhost/Login

GET
curl --request GET 'http://www.somedomain.com?a=123&b=123'

此条目发表在码农日常分类目录,贴了标签。将固定链接加入收藏夹。

1 Responses to HTTP POST and GET using cURL in Linux [duplicate]

留下评论