http methods 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: options http method
The OPTIONS Method lists down all the
operations of a web service supports.
It creates read-only requests to the server.