I have to make POST request to a URL which also contains GET variables (query string).
I tried the following (which looks like a most simepl/logical way) but it does not work:
my $ua = LWP::UserAgent->new;
my $res = $ua->post('http://my.domain/index.pl?login=yes', {
username => $username,
password => $password
});
my.domain/index.pl does receive any requests but as soon as I remove query string "?login=yes" request is working correctly.