top button

What are HTTP Request and HTTP Response?

0 votes
4 views
posted Apr 25 by Arunkumaarts

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

An HTTP request method is made up of four components:

Request Method – Get, Post, Put, Delete (these are the common ones)
Request URI – the URL of the resource
Request Header – Accept-Language, Accept-Encoding, User-Agent, Host
Request Body – this is the data to be sent to the resource

An HTTP response method is made up of three components:

Response Status Code – 200, 301, 404, 500 (these are the most common ones)
Response Header Fields – Date, Server, Last-Modified, Content-Type
Response Body – this is the data that comes back to the client from the server
answer Apr 26 by Arun
...