heyman has asked for the wisdom of the Perl Monks concerning the following question:
Is there a way the "Authenticate" a session with a web site when using HTTP::Headers and HTTP::Request? EX.\
I need to authenticate this session within my browser so that I may access this $request page without using my script.my $headers = new HTTP:Headers( Referer => "http://www.perlmonks.org/" ); my $request = new HTTP::Request( "POST", "http://www.excite.com/cgi-bin/usr44/mystuff.cgi", $headers ); my $ua = LWP::UserAgent->new; my $response = $ua->request($request); print $response->content;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTTP::Headers, HTTP::Request, Authentication, LWP::Useragent
by Daddio (Chaplain) on Mar 28, 2001 at 07:25 UTC | |
by tilly (Archbishop) on Mar 28, 2001 at 09:42 UTC |