【已解决】请教一下这样的网站样post提交?
本帖最后由 chamlien 于 2014-9-8 01:45 编辑用HTTPwatch抓包数据如下:
POST /billsys_v3/manager/billadmin/billquery/billquery.jsp HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: http://account.mmedu.edu.cn:8080/billsys_v3/manager/billadmin/billquery/billqueryform.jsp
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: account.mmedu.edu.cn:8080
Content-Length: 83
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=FED1C85422FC9F501935FAC934587313
userName=wf&queryYear=2014&queryMonth=9&queryMode=1&Submit=%CC%E1%BD%BB%B2%E9%D1%AF
也查找了论坛的例子,但是这个好像没有头文件,如何post提交呢?以上网址为局域网. http://www.autoitx.com/forum.php?mod=viewthread&tid=37952&highlight=post
半夜研究出来了,参考了前面的地址,再加上$Respond = BinaryToString($oHTTP.ResponseBody, 1)
就可以了
页:
[1]