May 31, 2010, 2:49 PM
Post #1 of 1
Hello you folks,
Perl - Handling POST Requests
On a later version of Perl, I was able to get the contents of a POST request on a web server by using an instance of CGI as :
my $reqContents = new CGI(HTTP::Request->content) ;
and then you be able to print it using:
However perl's current version I keep getting an error when calling the "content" method from the HTTP::Request object. Could you please let me know if there's any work around to get the contents instead of thru the method above?