RoR-understanding Representational state transfer(REST)
What is REST?
DELETE /photos/17
would be understood to refer to a photo resource with the ID of 17, and to indicate a desired action – deleting that resource.
- REST stands for Representational State Transfer
- It relies the HTTP protocol
- World Wide Web itself, based on HTTP, can be viewed as a RESTful architecture.
- REST uses HTTP for all four CRUD (Create/Read/Update/Delete) operations.
- REST is alternative to Web Services (SOAP, WSDL, etc.).
- REST is not a "standard".
DELETE /photos/17
would be understood to refer to a photo resource with the ID of 17, and to indicate a desired action – deleting that resource.
for more details refer to the following links
Comments
Post a Comment