Difference between revisions of "What is REST, REST API?"
Line 2: | Line 2: | ||
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. | 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: | "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:[http://www.xfront.com/REST-Web-Services.html] ) | ( source:[http://www.xfront.com/REST-Web-Services.html] ) | ||
Revision as of 17:05, 7 June 2006
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