Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 browsing the Monastery: (7)
As of 2015-07-04 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls