News for hackers. Stuff that matters.
Re:On RESTful API Standards – Just Be Cool: 11 Rules for Pra... by pfraze on Tuesday May 01, 2012 @03:59PM (#3916131)
If my PUT passes validation, I'd expect the resource to be overwritten with my request body (#2). If it doesn't, 400 (#1). If I do a PATCH, I'd expect #3.

If PUT falls back to PATCH, then there's no replace action, which might be useful.

It doesn't end up being a huge deal practically, because partial updates are probably more common than replaces, but that's my reasoning for it.

There are no comments on this comment yet.