Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Help regarding HTTP::Request:POST
February 25, 2006, 4:31 am
rate this thread
I'm facing an issue with the HTTP::Request:POST function.
My Code is trying to post some content to other applications and should
get an appropriate response. Some of the calling applications reside on
the same server as my application and a few reside on some other
The POST call fails when my application tries to send content to
applications on other servers and if the content contains some special
characters like ";" "\n" etc.
It truncates the content once it encounters the above mentioned
characters and only partially the content is sent to the application.
Hence i dont get the desired output from the application.
Below is a snippet of the code that performs the POST logic:
my $headers = HTTP::Headers->new() ;
my $request= HTTP::Request->new("POST", $URL, $headers);
$contenttext - contains my content
$url - contains my calling application URL
Kindly let me know what can be the issue and a solution.
- » Request for feedback: proposed new modules to aid VHDL projects
- — Previous thread in » PERL Modules Announcements