curl 發送get,post請求

 

1.發送post請求,能夠是json,htmlhtml

curl -H 'content-type: application/json' -X POST -d '{"name":"shfbjsf"}'  http://www.jnshu.com/aaajson

2.get 請求app

curl   https://way.jd.com/he/freeweather?city=handan&appkey=8010132dcf54491a4eaa387f4db61774curl

相關文章
相關標籤/搜索