3 ms·
> RESTful. It should speak the language of HTTP verbs: GET, PUT, POST, PATCH, UPDATE, DELETE What in the heck is UPDATE? It sounds like a non-technical person
by paulddraper 9y ago
> RESTful. It should speak the language of HTTP verbs: GET, PUT, POST, PATCH, UPDATE, DELETE
What in the heck is UPDATE? It sounds like a non-technical person found out REST had CRUD.
- itcmcgrath 9y agoIt's the verb you use when you want to receive a 400 with "BAD Request - Invalid verb"
- abraae 9y agoBut failed to also add INSERT.
- jalfresi 9y agoYou can define your own HTTP verbs if you want
- jholman 9y agoThere's nothing RESTful about using more than 2 HTTP verbs (GET for SAFE endpoints, and POST for UNSAFE ones). (Mind you, REST does require that you obey the semantics of HTTP for the verbs that you do use, standard or non-standard). And then the API endpoints illustrated don't obey HATEOS. So there's nothing RESTful about the article either.