When a client (such as a browser) requests a web page from a server, it sends an HTTP request. The format for such a request defines an action, a resource, and the Version of the HTTP protocol. Some HTTP requests include extra information for the server to process, such as a query or specific metadata. Depending on the action, you also may be sending the server new information for the server to process.
What do HTTP requests look like?
HTTP request methods
There are nine current HTTP request methods, which define a general action desired by the client. Each method carries a particular connotation as to how the server should process the request. The nine request methods are as follows:
- GET
- POST
- PUT
- DELETE
- HEAD
- CONNECT
- TRACE...