HTTP Method
1. GET: getting data in the server.
Usually we get 200 OK back for successful response.
does not requires body
2. POST: adding data to the server defined by Content-Type Header.
Common status code for successful POST is
201 Created -- you will have response body
3. PUT: Put is used to update the existing data from the server.
204 means it was updated successfully
Difference between PUT and POST *POST is adding new data
*PUT is updating existing data
4. PATCH: Usually Used to partially update the resource
5. DELETE: is used to delete the data from the server.
204 means it was deleted successfully. does not requires body
6.HEAD: Used to just get the header from the response, not the body