HTTP request types

Although GET requests are the most common, there are, perhaps, three request types that are commonly used. The three common HTTP request types are as follows:

In addition to GET, HEAD, and POST, there are a few more HTTP request types that are rarely used. They are as follows:

If you send a request that the web server doesn't support, then the server should respond with a 400 Bad Request code.

Now that we've seen the types of HTTP requests, let's look at the request format in more detail.