- 积分
- 33
- 阳光
-
- 花瓣
-
- 雨露
-
- 节操
-
- 基情
-
- 贡献
-
- 注册时间
- 2013-10-10
- 在线时间
- 小时
- 最后登录
- 1970-1-1
- 阅读权限
- 10
TA的每日心情 | 开心 2013-10-11 10:52 |
---|
签到天数: 2 天 [LV.1]初来乍到
|
这一段是我获取的浏览器上的请求,是正确提交的
POST *********** HTTP/1.1
Host: dynamic.12306.cn
Connection: keep-alive
Content-Length: 1247
Accept: application/json, text/javascript, */*
Origin: ************
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: *
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=36A7CD9D4FFF40E06A2CF3464E21CCAD; BIGipServerotsweb=2396258570.62495.0000
org.apache.struts.taglib.html.TOKEN=4e819f732280d5fc0dde6ae5f5687c63&leftTicketStr=1012853152403635012110128502653023050237&textfield=%E4%B8%AD%E6%96%87%E6%88%96%E6%8B%BC%E9%9F%B3%E9%A6%96%E5%AD%97%E6%AF%8D&checkbox0=0&orderRequest.train_date=2013-10-24&orderRequest.train_no=5600000Z4760&orderRequest.station_train_code=Z47&orderRequest.from_station_telecode=HZH&orderRequest.to_station_telecode=WCN&orderRequest.seat_type_code=&orderRequest.ticket_type_order_num=&orderRequest.bed_level_order_num=000000000000000000000000000000&orderRequest.start_time=23%3A10&orderRequest.end_time=07%3A38&orderRequest.from_station_name=%E6%9D%AD%E5%B7%9E&orderRequest.to_station_name=%E6%AD%A6%E6%98%8C&orderRequest.cancel_flag=1&orderRequest.id_mode=Y&passengerTickets=3%2C0%2C1%2C%E6%9D%9C%E5%BD%A9%E4%BA%91%2C1%2C421087199109130041%2C15867159648%2CY&oldPassengers=%E6%9D%9C%E5%BD%A9%E4%BA%91%2C1%2C421087199109130041&passenger_1_seat=3&passenger_1_ticket=1&passenger_1_name=%E6%9D%9C%E5%BD%A9%E4%BA%91&passenger_1_cardtype=1&passenger_1_cardno=421087199109130041&passenger_1_mobileno=15867159648&checkbox9=Y&oldPassengers=&checkbox9=Y&oldPassengers=&checkbox9=Y&oldPassengers=&checkbox9=Y&oldPassengers=&checkbox9=Y&randCode=7386&orderRequest.reserve_flag=A
这一段是我自己程序提交的请求,总是提示非法的订票请求!
POST ************ HTTP/1.1
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET4.0C; .NET4.0E)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: *******************
Host: dynamic.12306.cn
Cookie: JSESSIONID=8AC347AFE681E09E804A35FFD4F91FEC; BIGipServerotsweb=2396258570.62495.0000
Content-Length: 1247
Expect: 100-continue
org.apache.struts.taglib.html.TOKEN=8ae281c55ed9e77122691378f02a095c&leftTicketStr=1012853152403635012110128502653023050238&textfield=%e4%b8%ad%e6%96%87%e6%88%96%e6%8b%bc%e9%9f%b3%e9%a6%96%e5%ad%97%e6%af%8d&checkbox0=0&orderRequest.train_date=2013-10-24&orderRequest.train_no=5600000Z4760&orderRequest.station_train_code=Z47&orderRequest.from_station_telecode=HZH&orderRequest.to_station_telecode=WCN&orderRequest.seat_type_code=&orderRequest.ticket_type_order_num=&orderRequest.bed_level_order_num=000000000000000000000000000000&orderRequest.start_time=23%3a10&orderRequest.end_time=07%3a38&orderRequest.from_station_name=%e6%9d%ad%e5%b7%9e&orderRequest.to_station_name=%e6%ad%a6%e6%98%8c&orderRequest.cancel_flag=1&orderRequest.id_mode=Y&passengerTickets=3%2c0%2c1%2c%e6%9d%9c%e5%bd%a9%e4%ba%91%2c1%2c421087199109130041%2c15867159648%2cY&oldPassengers=%e6%9d%9c%e5%bd%a9%e4%ba%91%2c1%2c421087199109130041&passenger_1_seat=3&passenger_1_ticket=1&passenger_1_name=%e6%9d%9c%e5%bd%a9%e4%ba%91&passenger_1_cardtype=1&passenger_1_cardno=421087199109130041&passenger_1_mobileno=15867159648&checkbox9=Y&oldPassengers=&checkbox9=Y&oldPassengers=&checkbox9=Y&oldPassengers=&checkbox9=Y&oldPassengers=&checkbox9=Y&randCode=57y4&orderRequest.reserve_flag=A
|
|