用XML做 POST的问题
POST /api/gateway.php HTTP/1.1..Accept: */*..Accept-Language: zh-CN..
Referer: http://duowan.boyaa.com/dwcore/texas.swf?flashver=2.0.0..x-flash-version: 10,0,12,36..
Content-Type: application/x-amf..
Content-Length: 89..
Accept-Encoding: gzip, deflate..
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)..
Host: duowan.boyaa.com..
Connection: Keep-Alive..
Cache-Control: no-cache............MemberBonus.fetch../2...8......AE.Z...... 63681b94090c5fe967e98468721f0fc4...5555
上面是我拦截到的内容
我用如下代码尝试
$xmlhttp=ObjCreate("Microsoft.XMLHTTP")
$poststr="MemberBonus.fetch../2...8......AE.Z...... 63681b94090c5fe967e98468721f0fc4...5555"
$xmlhttp.open("post","/api/gateway.php","false")
$xmlhttp.setRequestHeader("Content-Type","application/x-amf")
$xmlhttp.setRequestHeader("Referer","http://duowan.boyaa.com/dwcore/texas.swf?flashver=2.0.0")
$xmlhttp.send($poststr)
提示:
>运行:(3.2.13.7):H:\autoit3\autoit3.exe "H:\autoit3\验证码\test.au3"
H:\autoit3\???\test.au3 (6) : ==> ??????(?????).:
$xmlhttp.open("post","/api/gateway.php","false")
$xmlhttp.open("post","/api/gateway.php","false")^ ERROR
请高手帮忙一下,我这样操作有些什么问题,谢谢! 也要学习一下。谢谢。。。。。。
页:
[1]