1.发送post请求,可以是json,html
curl -H 'content-type: application/json' -X POST -d '{"name":"shfbjsf"}' http://www.jnshu.com/aaa
2.get 请求
curl https://way.jd.com/he/freeweather?city=handan&appkey=8010132dcf54491a4eaa387f4db61774
1.发送post请求,可以是json,html
curl -H 'content-type: application/json' -X POST -d '{"name":"shfbjsf"}' http://www.jnshu.com/aaa
2.get 请求
curl https://way.jd.com/he/freeweather?city=handan&appkey=8010132dcf54491a4eaa387f4db61774