remy / jsonbin

A personal JSON store as a RESTful service
https://jsonbin.org
395 stars 26 forks source link

POST and UPDATE v/s PATCH #29

Closed sriramsv closed 6 years ago

sriramsv commented 6 years ago

Can we have post and update instead of patch, as most clients dont support HTTP patch

remy commented 6 years ago

UPDATE isn't an http verb.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods

And PATCH is supported by nearly all clients (the notable exception being browsers, but they don't support PUT either).