davy_yg's avatar
Level 27

patch

What is the diffence between PUT method and PATCH?

Are both for updates?

ref: https://stackoverflow.com/questions/42313033/how-to-use-patch-request-in-laravel

0 likes
2 replies
a4ashraf's avatar

@davy_yg

The main difference between the PUT and PATCH method is that the PUT method uses the request URI to supply a modified version of the requested resource which replaces the original version of the resource whereas the PATCH method supplies a set of instructions to modify the resource.

Please or to participate in this conversation.