|
楼主 |
发表于 2013-8-22 17:18:40
|
显示全部楼层
根据抓包情况看返回OK就是Post成功了:
HTTP/1.1 200 OK
Send:
POST /jms/login.do HTTP/1.1
Accept: */*
Accept-Language: zh-cn
Referer: http://x.x.x.x:8080/jms/login.jsp
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.3; .NET4.0C; .NET4.0E)
Host: x.x.x.x:8080
Content-Length: 57
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=1DD543CD1D5B1826EE0EF55183A00353
username=test&password=test&isAutoLogin=0&code=6gsx
Receive:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=UTF-8
Content-Length: 4
Date: Thu, 22 Aug 2013 04:16:28 GMT
|
|