似乎没有少吧,抓包和获取的是一样的啊~
#include <WinHttp.au3>
Global $hOpen, $hConnect, $hRequest, $sHeader
$hOpen = _WinHttpOpen()
$hConnect = _WinHttpConnect($hOpen, "www.alimama.com")
$hRequest = _WinHttpOpenRequest($hConnect, "POST", "/member/ajax_login.htm?forward=http%3A%2F%2Fwww.alimama.com%2F")
_WinHttpSendRequest($hRequest)
_WinHttpReceiveResponse($hRequest)
If _WinHttpQueryDataAvailable($hRequest) Then $sHeader = _WinHttpQueryHeaders($hRequest)
_WinHttpCloseHandle($hRequest)
_WinHttpCloseHandle($hConnect)
_WinHttpCloseHandle($hOpen)
ConsoleWrite($sHeader & @CRLF)
MsgBox(0, "", $sHeader)
|