my $ua = LWP::UserAgent->new( ssl_opts => {verify_hostname => 0}, ); my $client = REST::Client->new( timeout => 30, useragent => $ua, );