Rest API
GET: Retrieve information. GET requests must be safe and idempotent, meaning regardless of how many times it repeats with the same parameters, the results are the same.
POST: Request that the resource at the URI do something with the provided entity. Often POST is used to create a new entity, but it can also be used to update an entity.
PATCH: Update only the specified fields of an entity at a URI. A PATCH request is neither safe nor idempotent (RFC 5789). That's because a PATCH operation cannot ensure the entire resource has been updated.
PUT: PUT replaces an existing entity. If only a subset of data elements are provided, the rest will be replaced with empty or null.
DELETE: Request that a resource be removed; however, the resource does not have to be removed immediately. It could be an asynchronous or long-running request.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
GET: Retrieve information. GET requests must be safe and idempotent, meaning regardless of how many times it repeats with the same parameters, the results are the same.
POST: Request that the resource at the URI do something with the provided entity. Often POST is used to create a new entity, but it can also be used to update an entity.
PATCH: Update only the specified fields of an entity at a URI. A PATCH request is neither safe nor idempotent (RFC 5789). That's because a PATCH operation cannot ensure the entire resource has been updated.
PUT: PUT replaces an existing entity. If only a subset of data elements are provided, the rest will be replaced with empty or null.
DELETE: Request that a resource be removed; however, the resource does not have to be removed immediately. It could be an asynchronous or long-running request.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
I have read this post and I really liked it. I was searching for this kind of topic for a long time. your blog helps me to know more about the course.Thank you for sharing the information
ReplyDelete6 months industrial training in Gurgaon
6 months industrial training in Delhi
6 months industrial training in Noida