What is a Resource in REST?


* The service has a base URI that represents whole set of resources
   ex: CsharpStar.com/posts

* The base uri can be qualified with an identifier specifying an individual resource
   ex: CsharpStar.com/posts/1053

*  RESTful services are hierarchical, resources offered by one service can contain more service.

*  REST uses various representations to represent a resource where text, JSON, XML. XML and            JSON are the most popular representations of resources.

Post a Comment

0 Comments