Reputation: 365
Is there any way to retrieve the parameters and values using POST method?
http://hostname/cgi-bin/params?name1=value1&name2=value2&;..
I need to write a CGI script to receive the parameters and values using POST
method from the below url.
Host: hostname.com
name1=value1&name2=value2
Please help me to do this.
Upvotes: 1
Views: 1399
Reputation: 18671
If they are in the URL, it's GET, not POST.
For GET: How can I read the URL parameter in a Perl CGI program?
For POST: how to get POST values in perl
Upvotes: 1