[root@10 updateFile]# cat data.txt 
method=Class.GetClassByCourse&appId=5001×tamp=2017-11-28 12:26:05¶mJson={"cityId":"1","pageSize":"20","date":"20171128","courseCode":"14878","pageIndex":"1"}

curl --data @data.txt http://api.abc.cn/sk/Product/Product.ashx |jq .

curl json串_第1张图片

curl -d "userName=user1&passwd=123456" -G http://www.example.com/login