March 2003
Intermediate to advanced
312 pages
7h 12m
English
In Chapter 5, I discussed the GET and POST request methods. A Web client can utilize either of these methods to send data to the Web server. With a GET request, a client can send data by utilizing the query string of the URL. With a POST request, the client can utilize the query string and can also include data in the content section of the HTTP request.
To demonstrate how a GET request can send data by utilizing the query string of a URL, consider the following link:
<a href=”/example.php?unique_id=12345”>Click Here</a>
When a user clicks this link, the user’s Web client will issue a GET request similar to the following:
GET /example.php?unique_id=12345 HTTP/1.1 Host: httphandbook.org
In this ...
Read now
Unlock full access