2
Reply

Mention what are resources in a REST architecture?

Suresh Kumar

Suresh Kumar

7y
574
0
Reply

    A resource is an object with a type, associated data, relationships to other resources, and a set of methods that operate on it. It is similar to an object instance in an object-oriented programming language, with the important difference that only a few standard methods are defined for the resource. Each action on the resource has respective HTTP Method: selecting resource is GET, inserting is POST, updating is PUT and deleting is DELETE

    Resources are identified by logical URLs; it is the key element of a RESTful design. Unlike, SOAP web services in REST, you view the product data as a resource and this resource should contain all the required information.