3 ms·
This is a good idea for APIs that allow you to update an object by sending a partial JSON object with the keys you want to update, when technically you’re suppo
by xwdv 5y ago
This is a good idea for APIs that allow you to update an object by sending a partial JSON object with the keys you want to update, when technically you’re supposed to send the entire updated object representation unless JSON Patch is being used.
- munk-a 5y agoAlternatively there actually is a HTTP PATCH verb that you can use for this - I think that tolerating is more appropriate for common misspellinks - i.e. accepting a request like an HTTP POST {"days": 12, "horus": 13 "minutes": 27}