curl命令带上cookie和headers的方式:
http://joelpm.com/curl/tools/2010/06/17/curl-with-cookies-and-headers.html
https://stackoverflow.com/questions/21271140/curl-and-php-how-can-i-pass-a-json-through-curl-by-put-post-get
curl -v --cookie "NoRobotCookie=CfDJ8KlpyPucjmhMuZTmH8oiYTOTAv9O2IIUjRcTt0puomt89HvBSmsvvf64tMQAwvFdZJrTTJAyNgrZ_AIaCh5uw0Qle26LA9ixwNRSEK81xUSJdEtoxn-ze7tT52CUtrqEEw" "https://zzk.cnblogs.com/s/blogpost?Keywords=php&pageindex=2"
curl -i -H 'content-type: application/json' -X POST -d '[{"itemId":"828a44eb31a425684c02509b39e35da5","publish":1,"describe":"\u4f1a\u5458\u8fc7\u671f\u63d0\u9192","createTime":1544063869,"expireTime":1546655869,"tags":"\u7535\u5668;\u79d1\u6280","bigType":"\u6d88\u606f","middleType":"\u6a21\u677f\u6d88\u606f","smallType":"\u8fc7\u671f\u63d0\u9192"}]' https://api.qidian.qq.com/cgi-bin/market/recommend/uploadItems?access_token=xxx
curl -i -H 'content-type: application/json' -X POST -d '{"uidType":2,"uid":"oHtrD0SD7C6Ssqa4N3EqENjY_rtU","sceneId":2}' https://api.qidian.qq.com/cgi-bin/market/recommend/getResult?access_token=xxx
curl -i -H 'content-type: application/json' -X GET -d '{"uidType":2,"uid":"oHtrD0SD7C6Ssqa4N3EqENjY_rtU","sceneId":2}' https://api.qidian.qq.com/cgi-bin/market/recommend/getResult?access_token=xxx