Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

How can I stop a POST from url encoding.

by dwatson06 (Friar)
on Jun 28, 2002 at 21:13 UTC ( #178148=perlquestion: print w/replies, xml ) Need Help??

dwatson06 has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to create a POST to a CGI script on another server. I am connecting to the server but it can not route the POST because it thinks that 'create_user.cgi' is 'create_user.cgi%20HTTP/1.0'. Also the content is getting url encoded <user>john@doe</user> as %3Cuser%3john%4doe%3enduser%3. I have tried using apostrophe over double quotes, the /, /s, etc... HTTP/1.0 must be passed to the server. Is there a way to force characters in?

$req = POST ' HTTP/1.0' , '&lt;user&gt;john@doe&lt;enduser&gt;' ;
print $req->as_string();
Thank you

Originally posted as a Categorized Question.

  • Comment on How can I stop a POST from url encoding.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://178148]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2023-05-30 17:07 GMT
Find Nodes?
    Voting Booth?

    No recent polls found