Re: HTTP::Request/GET response not expected
- From: "Mike Starkie" <skijor@xxxxxxxxx>
- Date: 6 May 2005 13:42:05 -0700
Well it certainly is due to the fact that I'm not logged in. How do I
know what the form expects for authentication (it's a POST)? It seems
to me I would have to sniff the wifre to see the post right?
The form expects two inputs a 'User' and 'Password". i wrote this test
script that fails:
#!/usr/bin/perl
use LWP;
my $browser = LWP::UserAgent->new;
my $url = 'http://tracking.edgetrade.com/default.asp?';
my $res = $browser->post($url, [User => "me", Password =>
"mypasswrod"]);
my $content = $res->content;
if($content =~ /Welcome to FogBUGZ/)
{
print "logged on";
}
.
- Follow-Ups:
- Re: HTTP::Request/GET response not expected
- From: J. Gleixner
- Re: HTTP::Request/GET response not expected
- References:
- HTTP::Request/GET response not expected
- From: Mike Starkie
- Re: HTTP::Request/GET response not expected
- From: J. Gleixner
- HTTP::Request/GET response not expected
- Prev by Date: Re: compilation problem when adding a module
- Next by Date: Suggestion for name of TLC engineering module
- Previous by thread: Re: HTTP::Request/GET response not expected
- Next by thread: Re: HTTP::Request/GET response not expected
- Index(es):
Relevant Pages
|