Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 examining the Monastery: (13)
As of 2014-12-19 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (84 votes), past polls