what is methods in http defenition code example
Example 1: 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 2: 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