use strict; use warnings; use JSON; use LWP::UserAgent; use HTTP::Request::Common; #use LWP::Protocol::https; #use Net::SSL (); use URI::Escape; use Term::ReadKey; use Data::Dumper; #this is my error message 500 Can't connect to xxxxxx.service-now.com:443 (An invalid argument was supplied.)