Answer the question
In order to leave comments, you need to log in
Is it necessary to use something other than GET, POST when building a REST API?
I didn't see it in the architecture requirements. I think many things can be interpreted in different ways.
How will a regular API written in, say, PHP (GET, POST) and returning json differ from REST?
Answer the question
In order to leave comments, you need to log in
HTTP methods are used because they are well suited for interacting with resources and are documented. You don't have to guess what GET does, it's described in the rfc. That is, there are no situations "So ... I need to get a resource with such and such an id, what should I do - send GET? POST? DELETE?"
If your application meets Fielding's requirements
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question