Thursday, August 20, 2020

HTTP Requests....???

What are HTTP Requests...🤔


The requests that the browser sends to the Web Server are HTTP requests. In simple terms, it is a way of sending messages between two machines over the internet.
HTTP stands for Hyper Text Transfer Protocol.

Any HTTP request consists of below components:
1. Type of Request:
     It consists of whether it is GET, POST, PUT or DELETE.
2. HTTP Headers:
     Headers specify information such as type of browser, type of content in the message and what type of response we receive in return.
3. Body/Payload:
    It consists of information sent to / from the web application. 
    Only POST and PUT have payloads where as GET and DELETE cannot have payload.

Thanks for reading!!
Happy Blogging!!!!! 

No comments:

Post a Comment