#!perl use strict; use warnings; use HTTP::Tiny; my $ua = HTTP::Tiny->new(); my $res = $ua->request( 'GET' => 'https://url.../', { headers => { 'Accept' => '*/*', 'User-Agent' => 'curl/7.55.1', 'Authorization' => 'Basic YWRtaW46cGFzc3dvcmQ=' }, }, ); __END__ Created from curl command line curl -k --silent -u admin:password https://url...