Authorization => "user:password"
Are you sure that you want to send an "Authorization" header with exactly user:password in it?
The usual format for Authorization headers says that it has at least a type in front of it:
Authorization: <type> <credentials>
So maybe now is the time to look at what data Curl would try to send over the network and then try to replicate that using Perl / HTTP::Tiny.
In reply to Re^3: Not sure how to use HTTP::Tiny
by Corion
in thread Not sure how to use HTTP::Tiny
by plx
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |