rest resources code example

Example 1: what are the resources in rest architecture

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.

Example 2: resource in rest

REST architecture treats any content 
as a resource, which can be either
text files, HTML pages, images, videos
or dynamic business information.
REST Server gives access to resources
and modifies them, where each resource
is identified by URIs/ global IDs.

Tags:

Misc Example