News for hackers. Stuff that matters.
Re:How to Version an API by paulddraper on Thursday June 08, 2017 @07:32PM (#14518020)
> 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.

Re:How to Version an API by itcmcgrath on Thursday June 08, 2017 @07:38PM (#14518047)
It's the verb you use when you want to receive a 400 with "BAD Request - Invalid verb"
Re:How to Version an API by jholman on Friday June 09, 2017 @07:32AM (#14520645)
There'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.

Re:How to Version an API by jalfresi on Friday June 09, 2017 @04:01AM (#14519894)
You can define your own HTTP verbs if you want
Re:How to Version an API by abraae on Thursday June 08, 2017 @09:01PM (#14518453)
But failed to also add INSERT.