Try
pojuse MIME::Base64; my $headers = { Accept => "application/json", 'Content-Type' => "application/json", Authorization => "Basic ".encode_base64("user:password"), };
In reply to Re^5: Not sure how to use HTTP::Tiny
by poj
in thread Not sure how to use HTTP::Tiny
by plx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |