matlaw has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use HTTP::Request::Common qw(POST); use LWP::UserAgent; $ua = LWP::UserAgent->new; my $req = POST 'http://www.sfarmls.com/scripts/mgrqispi.dll', [ APPNAME => 'Sanfrancisco', PRGNAME => 'MLSLogin', ARGUMENTS => ('-ASS','-AA'), ]; print $ua->request($req)->as_string;
POST /scripts/mgrqispi.dll HTTP/1.1 Host: www.sfarmls.com Content-Length: 56 Content-Type: application/x-www-form-urlencoded APPNAME=Sanfrancisco&PRGNAME=MLSLogin&ARGUMENTS=-ASS,-AA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: posting with HTTP::Request::Common
by ikegami (Patriarch) on Nov 07, 2006 at 01:21 UTC | |
|
Re: posting with HTTP::Request::Common
by dorko (Prior) on Nov 07, 2006 at 01:35 UTC |