Doctrin has asked for the wisdom of the Perl Monks concerning the following question:
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:
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/ +?with=params&some=else"); $HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
Thanks in advancemy $HttpReq = HTTP::Request->new( POST => "http://mysite.org/some/url" +, getparams => [with => 'params',some => 'else']); $HttpReq->authorization_basic(&MY_LOGIN, &MY_PASSWORD);
Back to
Seekers of Perl Wisdom