Linux环境下测试get和post请求 ?get,post,curl
get请求
curl: curl url#示例curl www.baidu.com
post请求
curl-H header-X post 或get-d json数据示例:curl -H "Content-type: application/json" -X POST -d '{"usernameToken":{"username":"admin","password":"admin123"}}' url
文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/156321.html<

