in reply to Posting files to Amazon MWS using LWP
The HTTP::Request::content() method is described as: "$r->content( $bytes ) ... Note that the content should be a string of bytes.", so what do you expect it to do with an anonymous array containing a list of strings: $req->content([%post_parameters]);?
You should be using the LWP::UserAgent::post() method: "$ua->post( $url, \%form )".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Posting files to Amazon MWS using LWP
by rethaew (Sexton) on Nov 29, 2011 at 20:03 UTC | |
by BrowserUk (Patriarch) on Nov 29, 2011 at 21:10 UTC | |
by Anonymous Monk on Dec 01, 2011 at 08:40 UTC |