in reply to REST::Client does not provide any output
Now my script does not print anything. It exits with nothing being printed on the screen.
Turn on debugging so that you can examine the request that gets sent
FWIW, I don't know what is x-Authorization , but its not like the thing you appear to be trying, its not like basic, this is basic
use HTTP::Request ; my $r = HTTP::Request->new('http://localhost'); $r->authorization_basic(qw/ user pass /); print $r->as_string; __END__ http://localhost - Authorization: Basic dXNlcjpwYXNz
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: REST::Client does not provide any output (debugging x-authorization)
by Anonymous Monk on Jun 17, 2013 at 08:58 UTC | |
Re^2: REST::Client does not provide any output (debugging x-authorization)
by slayedbylucifer (Scribe) on Jun 17, 2013 at 09:10 UTC | |
by Anonymous Monk on Jun 17, 2013 at 09:24 UTC |
In Section
Seekers of Perl Wisdom