4
In this Article by Infoq, the author highlights the five fundamental principles of REST:
- Give all things an identifier
- Link things (resources/identifier)
- Use standardized methods
- Features with multiple representations
- Communicate stateless
However, one of them would like to help me understand better, it is the principle Use standardized methods. In summary the author says that:
In a Restful HTTP approach, you would have to start with an inteface generic that composed the application’s HTTP protocol. You could do something like that:
My doubt:
- How would this
interface
(based on the image)? - How would the implementation of a
recurso (ID - Identificador)
if you want to pass an objectjson
for example