2021-07-13 Curl

2021-07-13  本文已影响0人  华清居士

post----url-encoded
curl -d'p1=xxxx&p2=123'-X POST http://xxxxx

post---json

curl -d '{"xxx": "emma", "xxx": "123"}' -H 'Content-Type: application/json' -H 'id:xxx' https://xxx/lxx
application/x-www-form-urlencoded

Get

curl --get -H 'Content-Type: xxxxx' 'http://xxxxxx'

上一篇下一篇

猜你喜欢

热点阅读