in reply to Problem Using POST
The form you want to post to is found in the <form> tag: prep_job.php
So you want to change your request to something like.
my $response = $browser->post( 'http://enm.lobos.nih.gov/prep_job.php', [ "upload"=> ["C:\\protean\\1o1l\\1o1l.pdb"], "jobname"=> "PRT1", "case" => "2", "email" => "email\@gmail.com", "optin" => "true", "upload2"=> ["C:\\protean\\1o1l\\1o1l.pdb"], ], 'Content_Type' => 'form-data', );
grep
One dead unjugged rabbit fish later...
One dead unjugged rabbit fish later...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Problem Using POST
by Joost (Canon) on Feb 02, 2008 at 01:19 UTC | |
Re^2: Problem Using POST
by Anonymous Monk on Feb 02, 2008 at 14:13 UTC | |
Re^2: Problem Using POST
by Anonymous Monk on Feb 02, 2008 at 18:47 UTC |
In Section
Seekers of Perl Wisdom