in reply to Mimic referring URL in LWP?
$res = $ua->request(POST 'https://adwords.google.com/select/main', ['login.userid' => 'test@test.com', 'login.password' => 'testabc', 'cmd' => 'LoginValidation', 'login' => 'Login' ], Referer => $referer );
Also is good point for things like this, to set cookie jar:
my $cookie_jar = HTTP::Cookies->new; my $ua = LWP::UserAgent->new; $ua->cookie_jar($cookie_jar);
Hope that this will help you.
Regards
Li Tin O've Weedle
mad Tsort's philosopher
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Mimic referring URL in LWP?
by inblosam (Monk) on Jun 20, 2002 at 16:12 UTC |