找回密码
 加入
搜索
查看: 1725|回复: 1

用XML做 POST的问题

[复制链接]
发表于 2009-7-26 14:33:26 | 显示全部楼层 |阅读模式
POST /api/gateway.php HTTP/1.1..
Accept: */*..Accept-Language: zh-CN..
Referer: http://duowan.boyaa.com/dwcore/t ... 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

请高手帮忙一下,我这样操作有些什么问题,谢谢!
发表于 2013-12-5 17:52:01 | 显示全部楼层
也要学习一下。谢谢。。。。。。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-28 17:35 , Processed in 0.076363 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表