-
Notifications
You must be signed in to change notification settings - Fork 2
Home
matteosister edited this page Nov 27, 2014
·
15 revisions
This library is inspired by a blog post by William Durand. Head over to his blog to read the long story...
TL;DR
The patch method is often misunderstood. This library tries to fix a standard to handle patch operations.
For example:
PATCH /users/1
{ "op": "data", "property": "username", "value": "new username" }or even:
PATCH /books/1
[
{ "op": "data", "property": "title", "value": "1986" },
{ "op": "publish" }
]how expressive! Now some insight...
Use the table of contents to the top right to navigate to other wiki sections.