The Post Method

With the POST method, the query string is appended after the HTTP header.


Example of a POST request :

POST /cgi-bin/formulaire.cgi HTTP/1.1
...
Content-length: 35
parameter1=value1&paremeter2=value2


The main advantage of the POST method is that query length is unlimited. The heading contains the data length in the Content-length field. To get data sent by the POST method, the CGI program reads from standard input.