in reply to Submitting queries to server
It sounds like the script is expecting the data to be submitted as multipart/form-data (which uses boundaries), not the default application/x-www-form-urlencoded (the module's default). Looking at the <form> element's enctype attribute will tell you what the script requested. Fortunatly, it's easy to tell HTTP::Request::Common to use multipart/form-data:
my $req = POST( 'http://url_to_post' , Content_Type => 'form-data' , Content => [ username => "value" , usermail => "value" ] );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Submitting queries to server
by Anonymous Monk on Sep 15, 2005 at 11:43 UTC | |
by cbrandtbuffalo (Deacon) on Sep 15, 2005 at 12:36 UTC | |
by Anonymous Monk on Sep 15, 2005 at 13:16 UTC | |
by ikegami (Patriarch) on Sep 15, 2005 at 14:55 UTC | |
by Anonymous Monk on Sep 16, 2005 at 12:12 UTC | |
|