Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use LWP::UserAgent; $ua = LWP::UserAgent->new; $ua->agent('Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)'); use HTTP::Request::Common qw(POST); my $req = (POST 'http://url_to_post', [username => "value", usermail => "value"]); $request = $ua->request($req); $content = $request->content; print $content;
<META HTTP-EQUIV="Expires" CONTENT="0"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <BODY BGCOLOR='#FFFFFF'> The following error has occured getting your search details: No boundary= in CONTENT_TYPE (application/x-www-form-urlencoded) [M000 +55] Have you tried the browser compatibility test page?
Edit by castaway - added code tags around error
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Submitting queries to server
by ikegami (Patriarch) on Sep 15, 2005 at 05:15 UTC | |
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 | |
|