- or download this
$PROXY_IP = "proxy.mydomain.com:8080";
...
$URL = "https://www.somedomain.com/index.htm";
$request = HTTP::Request->new('GET', "$URL");
$response = $ua->request($request);
- or download this
"Unsupported Request Method and Protocol"
- or download this
use Net::SSL (); # From Crypt-SSLeay
use LWP::UserAgent;
...
my $req = HTTP::Request->new('GET','https://twitter.com');
my $res = $ua->request($req);
print $res->status_line;