Posted On: Feb 22, 2018
URI (Uniform Resource Identifiers) is used to identify each resource in the REST. An HTTP operation is called by the client application to access the resource. In the construction of a URI to identify a resource, some rules are to be followed. The resource should be defined in the plural noun. The URI is case0sensitive, so use a lowercase letter when defining a URI. There should be no spaces included in the URI. The created URI should be backward compatible.
//FORMAT for creating a URI
<protocol>://<service-name>/<ResourceType>/<ResourceID>
Never Miss an Articles from us.
REST, expanded as Representational State Transfer, is an architectural style developed by Roy Fielding in 2000. REST presents a set of constraints to be used in the creation of web services. The servi...
REST supports a group of HTTP methods to manipulate the request and response. They are, GET – It is used to read the representation of a resource. It usually returns the resource in XML or JSON...
In the REST architecture, every content is a resource. It can be a text file, HTML pages, images, videos, or business data. These resources are identified by the URI or global ID’s which can be ...