components of http response code example
Example 1: http response methods
resource 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, LastModified, Content-Type
Response Body ==> This is the data that comes
back to the client from the server.
Example 2: components of http request
1-Http request methods : PUT, POST, DELETE,GET
2-Base URI
3-Resources and Parameters
4-Request Header(which carries metaData)as keyValue pair
5-Request Body