#!/usr/bin/perl use strict; use warnings; use LWP::AuthenAgent; my $url = 'http://jigsaw.w3.org/HTTP/Basic/'; my $ua = new LWP::AuthenAgent; my $response = $ua->request(new HTTP::Request 'GET' => $url); print $response->decoded_content, "\n";
In reply to Re: lwp (mechanize) authentication
by Khen1950fx
in thread lwp (mechanize) authentication
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |