4 ms·
Only when it's GET request. This request will not return you any resource information, with id if account or without.
by EugeneOZ 10y ago
Only when it's GET request. This request will not return you any resource information, with id if account or without.
- amk_ 10y agoWhat about DELETE?
- EugeneOZ 10y agoDELETE is for deletion only, this request can't have body, so only what we can do is send id in query. When we want to remove multiple resources we either should send multiple requests (what is slow), or combine multiple ids in query (what is ugly and non-idiomatic).
- recursive 10y agoIn your mind, what does URL stand for? It's an acronym.
- EugeneOZ 10y agoDo you really expect to get resource data when you send POST or DELETE request? If yes, then web (and REST) is not as perfect as you expect.