7.1. HTTP

HTTP is primarily intended for loading Web pages over the Internet. It provides a number of request formats for the client. The main request formats are called GET, POST, and HEAD. The GET, POST, and HEAD formats are not acronyms, rather they are the actual request strings used by the client.

A GET request is the simplest form of an HTTP request. It carries a single URL into the server and the server should respond with the data for that URL. The URL for a GET request is reflected in the location bar at the top of most browsers. If the request requires any parameters, for example to perform a search, then these parameters are encoded in the URL using a format that avoids the use of spaces or any characters other than seven-bit ASCII. ...

Get Sun Certified Enterprise Architect for J2EE™ Technology Study Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.