O'Reilly logo

Web Technology: Theory and Practice by M. Srinivasan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5.7 ACCESSING PARAMETER DATA

It has been seen earlier that in a GET request, the request parameters are given from the Query string. The Query string is the data following the question mark(?) on the URL. It is possible to include multiple parameters in the Query string, and they are separated by the ampersand (&) character. For example, consider the following URL.

http://www.abc.com?name1=val1&name2=val2

The Query string contains two parameters—name1 and name2 with values val1 and val2 respectively.

For a request submitted with a POST method, the request parameters are taken from both the query string and the posted data. The posted data is available in the body of the request, generally encoded. Irrespective of POST or GET, the methods that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required