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://asite.com:4443/adir/create_user.cgi HTTP/1.0' ,
'<user>john@doe<enduser>'
;
print $req->as_string();
Thank you
Originally posted as a Categorized Question.