...

/

HTTP Requests and HTTP Response

HTTP Requests and HTTP Response

In this lesson, we will walk you through the concepts of HTTP request and response.

What is an HTTP request?

HTTP requests are the messages sent by the client to initiate an action on a resource identified by a given URL over the network. There are various HTTP request methods for specific purposes.

The components of an HTTP request are as below:

  • The method to be applied to the resource – an HTTP method (like GET, PUT, POST HEAD or OPTIONS), that describes the action to be performed. We have already discussed the various HTTP methods in the previous ...