rethaew has asked for the wisdom of the Perl Monks concerning the following question:
Thanks.use LWP::UserAgent; use HTTP::Request::Common; %myhash;#i have a hash of parameters I need to post $userAgent = LWP::UserAgent->new; $response = $userAgent->request(POST 'http://foo.bar', Content_Type => 'form-data', Content => %myhash #I need to post the hash, not sure of the syntax );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Syntax problem LWP Post hash
by twotone (Beadle) on Jun 03, 2009 at 18:22 UTC | |
|
Re: Syntax problem LWP Post hash
by ccn (Vicar) on Jun 03, 2009 at 17:48 UTC | |
by rethaew (Sexton) on Jun 03, 2009 at 18:04 UTC |