standard HTTP request code example

Example 1: what is http request made of

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

Example 2: 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.

Tags:

Misc Example