javax_slr: (Default)
[personal profile] javax_slr
I'm trying to simulate a user interaction with the website meridiana.it using Apache HTTP client 4.3

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!

January 2026

S M T W T F S
    123
45 678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 14th, 2026 10:04 pm
Powered by Dreamwidth Studios