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