Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: xml requestby rjray (Chaplain) |
on Aug 04, 2002 at 23:15 UTC ( [id://187548]=note: print w/replies, xml ) | Need Help?? |
The POST short-cut provided by HTTP::Request::Common expects to encode a list of parameters as a content-type of application/x-www-form-urlencoded. This isn't what you want to have done, so you can't use HTTP::Request::Common in this case. Look at HTTP::Request instead, and create a request as such:
Then you can pass $request as the parameter to the $ua->request() method. --rjray
In Section
Seekers of Perl Wisdom
|
|