curl命令学习

https://www.ruanyifeng.com/blog/2019/09/curl-reference.html

指定get/post

curl -X POST https://www.example.com

 

post更换head

curl -d '{"login": "emma", "pass": "123"}' -H 'Content-Type: application/json' https://google.com/login

 

你可能感兴趣的:(其他)