Re:Let's remove verbs from HTTP 2.0
by jdmichal on Friday August 09, 2013 @08:11PM
(#6189421)
Doing a "chown" or "chmod" would be an UPDATE operation, not CREATE. The permissions and owner values already exist by value of the record existing, so of course trying to call CREATE on them seems silly. Same with turning cameras on/off; that's UPDATE on the state on the camera. CREATE would be to add a new camera to the system.
[ Parent
| on HN ]
Re:Let's remove verbs from HTTP 2.0
by dragonwriter on Friday August 09, 2013 @08:14PM
(#6189436)
> Doing a "chown" or "chmod" would be an UPDATE operation, not CREATE.
Right, which is why calling PUT to do them "CREATE" would be confusing. But PUT is still the right verb (well, for things like chmod 777; for chmod +X, PATCH would be better.)
PUT isn't "create" its "assign".