V
V
VZVZ2016-02-28 15:39:12
Computer networks
VZVZ, 2016-02-28 15:39:12

Do you use PUT and DELETE methods in your APIs?

I just came across an article here from the distant 2008..2011:
https://habrahabr.ru/post/38730/
Ah, it was time.
The time when POST-GET-PUT-DELETE in all seriousness could be called the word "CRUD" (no, not "CRUD)))))))))", as in my question, namely "CRUD"), and you especially and not minus like no one.
A time when discussions bloomed in the comments waiting for some kind of HTTP 1.2, in which (quoting) "they say REST will be ... hardwired."
So why didn't it work out?
Well, I see one problem. The POST-GET-PUT-DELETE methods would obviously not always be enough, and you can’t easily create your own, which means you have to use the same methods, but with a different URL / parameters / headers, and this destandardizes.
Yes, and client tools somehow sluggishly support even PUT and DELETE, especially some of their methods.
But you can look at this not as a cause, but as a consequence, because all this could be fixed by changing the HTTP standard and the library (oh, it was time to take and change the "philAsophy" of the library at the request of the workers, even in the amount of 1-2 people, - it was simple)
So why not?
Maybe someone else is using something like this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
werw, 2016-02-28
@werw

It depends on the type of API.
I only use POST, GET, PATCH

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question