I see (using Developers tools in Chrome) that a search for tickets is done by following steps:
1. I enter the web site "https://www.meridiana.it/home/index/en/" and receive session cookie.
2. A browser sends HTTP Post with flight details to https://www.meridiana.it/Home/SubmitSearch and receive response 302 with a header "Location" with some URL
3. The browser goes to this URL using GET, receives http code 302 again with location https://www.meridiana.it/booking/search.aspx?language=en
4.We make HTTP GET to https://www.meridiana.it/booking/search.aspx?language=en and here it receives response code 200 with search results
My problem is that in step 3 I receive HTTP code 200 w/o redirection to results.
Can somebody help me?
I can send my Groovy+HTTP Client 4.3 script ...
Thank you!