'Patch vs Put - When should which method be used?

Wikipedia says that the main difference between Put and Patch is that PUT sends the resource from the Uri. So /model/id. Then Patch will send in the body the data to modify as key / value over the uri /model.

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. If the PATCH document is larger than the size of the new version of the resource sent by the PUT method then the PUT method is preferred.[1]

But what does Wiki mean by the sentence: "If the PATCH document is larger than the new version of the resource sent by the PUT method, the PUT method is preferable".



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source