I want to submit some jobs to the web site "http://www.jcat.de/" using perl. I writted a script using the LWP, but it always produce a 500 internal server error. I can not figure out how to do correctly.
The select form looks like this:
<option value="330 Escherichia coli O6:K15:H31 (strain 536 / UPEC)">Escherichia coli O6:K15:H31 (strain 536 / UPEC)</option>
<option value="40 Escherichia coli O6 (strain UPEC / O6:H1 / ATCC 700928 / CFT073)">Escherichia coli O6 (strain UPEC / O6:H1 / ATCC 700928 / CFT073)</option>
<option value="317 Escherichia coli (strain ATCC 27325 / DSM 5911 / W3110 / K12)">Escherichia coli (strain ATCC 27325 / DSM 5911 / W3110 / K12)</option>
my $browser = LWP::UserAgent->new; my $url = "http://www.jcat.de/Result.jsp"; #submit my $response = $browser->post( $url, [ 'Sequence' => $ori_seq,#42 Escherichia coli (strain K12) 'seq_type' => 'DNA', 'genome' => '42 Escherichia coli (strain K12)', 'hairpin' => 'checked', 'quickChange' => 'checked', ]);
In reply to A problem in submitting select form with LWP by booy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |