|
本帖最后由 29517007 于 2011-6-16 16:35 编辑
第一个POST包的数据:POST /game/checkin/?rand=0.33694474809319896 HTTP/1.1
x-requested-with: XMLHttpRequest
Accept-Language: zh-cn
Referer: http://iwwd.qq.com/game/default/
Accept: application/json, text/javascript, */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1)
Host: iwwd.qq.com
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: pt2gguin=o0029517007; pgv_pvid=8984255312; pgv_flv=10.0; pgv_r_cookie=116859356966; o_cookie=29517007; ac=1,015,; __Q_w_s_hat_seed=1; pvid=9539632300; g_ut=2; __utma=136017777.453099557.1307782730.1307782730.1307782730.1; __utmz=136017777.1307782730.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); comment_uin=29517007 %u0020%u54af%u54af%u5deb; comment_skey=b2220663fa58231b7b8b647087e2f0fc++%BF%A9%BF%A9%CE%D7; ptui_width=372; ptui_height=190; uin=o0029517007; skey=@UGUeYKhZ8; ptisp=ctc; adid=29517007; hasRegQQ64100918516=29517007
第二个POST包的数据:POST /game/doGame/?rand=0.4427756364698759 HTTP/1.1
x-requested-with: XMLHttpRequest
Accept-Language: zh-cn
Referer: http://iwwd.qq.com/game/default/
Accept: application/json, text/javascript, */*
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1)
Host: iwwd.qq.com
Content-Length: 34
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: pt2gguin=o0029517007; pgv_pvid=8984255312; pgv_flv=10.0; pgv_r_cookie=116859356966; o_cookie=29517007; ac=1,015,; __Q_w_s_hat_seed=1; pvid=9539632300; g_ut=2; __utma=136017777.453099557.1307782730.1307782730.1307782730.1; __utmz=136017777.1307782730.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); comment_uin=29517007 %u0020%u54af%u54af%u5deb; comment_skey=b2220663fa58231b7b8b647087e2f0fc++%BF%A9%BF%A9%CE%D7; ptui_width=372; ptui_height=190; uin=o0029517007; skey=@UGUeYKhZ8; ptisp=ctc; adid=29517007; hasRegQQ64100918516=29517007
s=717392b9b2c162c497b9d1c73537a017
抓取的第一个POST所提交的内容正是第二个POST的所有内容。我该怎么操作才能正确POST数据出去呢?
|
|