It should be
my $header = [ 'Authorization' => 'Bearer 1a2b3c4d5e' ];
If that doesn't work, print your HTTP::Request->headers->as_string and look at where this differs from the documentation.
In reply to Re: How to format HTTP::Request for bit.ly api expand endpoint
by Corion
in thread How to format HTTP::Request for bit.ly api expand endpoint
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |