Download the BYJU'S Exam Prep App for free GATE/ESE preparation videos & tests - Download the BYJU'S Exam Prep App for free GATE/ESE preparation videos & tests -

Difference between PUT and PATCH Request

What is a PUT HTTP Request?

PUT is a technique of creating, changing or overwriting resources at a specific URL. The PUT method is generally called when we need to change a single resource.

What is a PATCH HTTP Request?

The PATCH method is used for making partial modifications to a current resource without changing the whole data.

Difference Between PUT and PATCH Request

S.No. PUT PATCH
1 PUT is a technique of altering resources when the client transmits data that revamps the whole resource. PATCH is a technique for transforming the resources when the client transmits partial data that will be updated without changing the whole data.
2 The PUT HTTP method is known to be unchanged. That means, if you retry a request numerous times, that will be equal to a single request conversion. The PATCH HTTP method is believed to be non-idempotent. That means, if you retry the request multiple times, you will end up having multiple resources with different URIs.
3 The PUT method has high bandwidth. Whereas, the PATCH method has comparatively low bandwidth.

Keep learning and stay tuned to BYJU’S to get the latest updates on GATE Exam along with GATE Eligibility CriteriaGATE 2024GATE Admit CardGATE Application FormGATE SyllabusGATE CutoffGATE Previous Year Question Paper, and more.

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*