What is REST, REST API?

From ScenarioThinking
Revision as of 17:05, 7 June 2006 by Shanoj (talk | contribs)
Jump to navigation Jump to search

REST was introduced by Roy Fielding to describe the web architecture. REST stands for Representational State Transfer.

Web comprises of various resources. A resources is any item of interest that has an URI. Using URI (eg: http://www.example.com/test.html), a "representation" of a resource is returned (test.html). The representation places the client application in a "state". Through the hyperlink, another resource is accessed and the new representation places the client application into a new state. Thus the client "transfers" the state with each resource representation.


"REST is not a standard but uses the following standards:

  • HTTP
  • URL
  • XML/HTML/GIF/JPEG/etc (Resource Representations)
  • text/xml, text/html, image/gif, image/jpeg, etc (MIME Types)"

( source:[1] )


Reference:

http://webservices.xml.com/pub/a/ws/2003/09/30/soa.html

http://naeblis.cx/rtomayko/2004/12/12/rest-to-my-wife

http://en.wikipedia.org/wiki/Representational_State_Transfer

http://developer.ebay.com/developercenter/rest