in reply to LWP content literal string
If you want to pass a JSON string to the other side, don't use the HTTP::Request::Common methods that create an application/x-www-form-urlencoded string (and are documented to do so).
Simply create the string using (say) JSON::XS and then use the Content parameter of HTTP::Request to put your string there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: LWP content literal string
by packetstormer (Monk) on Oct 14, 2014 at 10:48 UTC | |
by Anonymous Monk on Oct 14, 2014 at 10:51 UTC |