Skip to content

Instantly share code, notes, and snippets.

@iambibhas
Created March 9, 2013 05:17
Show Gist options
  • Save iambibhas/5122711 to your computer and use it in GitHub Desktop.
Save iambibhas/5122711 to your computer and use it in GitHub Desktop.

IRCTC Find Train POST request

Request URL:https://www.irctc.co.in/cgi-bin/bv60.dll/irctc/booking/planner.do?BV_SessionID=@@@@1460333113.1362805670@@@@&BV_EngineID=ccddadfjfkjiklecefecehidfgmdfjg.0
Request Method:POST
Status Code:200 OK

Request Headers

POST /cgi-bin/bv60.dll/irctc/booking/planner.do?BV_SessionID=@@@@1460333113.1362805670@@@@&BV_EngineID=ccddadfjfkjiklecefecehidfgmdfjg.0 HTTP/1.1
Host: www.irctc.co.in
Connection: keep-alive
Content-Length: 598
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Origin: https://www.irctc.co.in
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.160 Safari/537.22
Content-Type: application/x-www-form-urlencoded
Referer: https://www.irctc.co.in/cgi-bin/bv60.dll/irctc/booking/planner.do?BV_SessionID=@@@@1460333113.1362805670@@@@&BV_EngineID=ccddadfjfkjiklecefecehidfgmdfjg.0
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: stationFrom=YASANTAPUR%20%28YSPM%29; stationTo=HOWRAH%20JN%20%28HWH%29; ticketType=eticket; quota=GN; __utma=168397561.1570422369.1362577054.1362645980.1362804638.4; __utmb=168397561.9.10.1362804638; __utmc=168397561; __utmz=168397561.1362577054.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)

Query String Parameters

BV_SessionID:@@@@1460333113.1362805670@@@@
BV_EngineID:ccddadfjfkjiklecefecehidfgmdfjg.0

Form Data

BV_SessionID:@@@@1460333113.1362805670@@@@
BV_EngineID:ccddadfjfkjiklecefecehidfgmdfjg.0
submitClicks:11
screen:trainsFromTo
browser:::: Chrome ::: Browser version is ::: 25 and Operating System is  : Mac :: End of Navigator Info
pressedGo:
changetext:0
bookTicket:
stationFrom:YASANTAPUR (YSPM)
stationTo:HOWRAH JN (HWH)
CurrentMonth:2
CurrentDate:9
CurrentYear:2013
day:24
month:4
year:2013
JDatee1:24/4/2013
userType:0
ticketType:eticket
quota:GN
timedate:10
backRoute:true
Submit:Find Trains
selectedIndex:1
userName:iambibhas
password:hereismypassword

Response Headers

Cache-Control:no-cache,no-store,must-revalidate
Content-Length:39627
Content-Type:text/html;charset=ISO-8859-1
Date:Sat, 09 Mar 2013 05:11:52 GMT
Expires:Thu, 01 Jan 01970 00:00:00 GMT
Pragma:no-cache
Server:Microsoft-IIS/7.5
X-Powered-By:ASP.NET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment