Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Input_tag_name.x=0&Input_tag_name.y=0
Where the Input_tag_name is the name value of the image I want. Okay, but how do I use headers when my code looks like this:
my $browser = LWP::UserAgent->new; my $response = $browser->post( 'https://www.whatever.com/asdf.cgi', [ 'id' => $id, 'passwd' => $pass, ], ); die "Error: ", $response->status_line unless $response->is_success;
In other words, I want to send the headers and the rest of the POST data as shown above. Do I need to use a separate module or can I do this with LWP? Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP & image submit buttons
by neuroball (Pilgrim) on Jan 18, 2004 at 06:00 UTC | |
|
Re: LWP & image submit buttons
by pg (Canon) on Jan 18, 2004 at 06:17 UTC |