Hello dear Monks :)
Say, I want to POST to an url like http://mysite.org/some/url/?with=params&some=else with a basic authorization.
So, I do:
my $HttpReq = HTTP::Request->new( POST => "http://mysite.org/some/url/
+?with=params&some=else");
$HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
It works; BUT, is there a way to provide GET params more, say, gently, like that, maybe:
my $HttpReq = HTTP::Request->new( POST => "http://mysite.org/some/url"
+, getparams => [with => 'params',some => 'else']);
$HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
Thanks in advance