Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: HTTP Data Being Changed

by Anonymous Monk
on Apr 10, 2012 at 18:28 UTC ( #964385=note: print w/ replies, xml ) Need Help??


in reply to HTTP Data Being Changed

You're doing weird things with the low-level parts of the LWP API. This is much shorter and actually working as intended (takes care of assembling and encoding the request the correct way):

use LWP::UserAgent qw(); my $response = LWP::UserAgent ->new ->post( $buildManagerUrl, { action => $action, params => $callParamsJson, } );


Comment on Re: HTTP Data Being Changed
Download Code
Re^2: HTTP Data Being Changed
by dlwester (Initiate) on Apr 10, 2012 at 21:11 UTC
    Thanks, that simplified my code a lot. But my problem remains - the '+' is still a ' ' on the other side of the wire.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://964385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-05-24 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (470 votes), past polls