Skip to content

Instantly share code, notes, and snippets.

@derhuerst
Created September 2, 2019 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derhuerst/57ff95b88d945ecf5485d5e9cd0601bf to your computer and use it in GitHub Desktop.
Save derhuerst/57ff95b88d945ecf5485d5e9cd0601bf to your computer and use it in GitHub Desktop.
interrail login check
curl 'https://accounts.eu1.gigya.com/accounts.isAvailableLoginID?loginID=foo%40bar.de&APIKey=3_e52hhO8jjh-uFR6GuXGRmmqTQumgqbuFnXCATl6S0jC5mF_mFCnjNOWx2RJ57w_l&sdk=js_latest&authMode=cookie&pageURL=https%3A%2F%2Fwww.interrail.eu%2Fen%2Flogin%3Fresource%3D%252Fen%252Fmy-account.html%26%24%24login%24%24%3D%2524%2524login%2524%2524%26j_reason%3Dunknown%26j_reason_code%3Dunknown&format=jsonp&callback=gigya.callback&context=R42455374' \
-H 'Sec-Fetch-Mode: no-cors' \
-H 'Referer: https://cdns.eu1.gigya.com/gs/webSdk/Api.aspx?apiKey=3_e52hhO8jjh-uFR6GuXGRmmqTQumgqbuFnXCATl6S0jC5mF_mFCnjNOWx2RJ57w_l&version=latest' \
-H 'DNT: 1' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3888.0 Safari/537.36' \
--compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment