why to use http code example
Example 1: http and how it works
HTTP is a connectionless text based protocol.
Example 2: what are http methods
Get : enables you to retrieve data from server
Post: enables you to add data to an existing
file or resource in a server
Put: lets you replace an existing file or resource
in a server
Delete: lets you delete data from server
Patch:For partial update
Example 3: 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