The HTTP protocol works according to the simple, stateless request- response method for calling up web pages. A web client sends a request to a web server using an HTTP header, and the web server responds with an HTTPresponse.
HTTP communication is initiated by the HTTP client - which is the browser - making an HTTP request to a web server. The request can contain a GET, PUT or POST. That is, an instruction on how to handle a resource, or it may contain the HEAD and OPTIONS nouns.
The web server processes the request and sends the response, which is the HTTP response, with the requested documents to the web client. Such a response can consist, for example, of the Internet address of a website. After that, the connection is terminated.