The answer is that your application (in a REST script) simply does not track what is happening. All state is controlled by the client, and state transitions are carried out through navigation by URI. The “State Transfer” part of REST refers to client navigation for new URIs that are new states.
URI, GET, , HTTP, REST. , "" URI, "", , GET .
, ( -HTTP)...
GET//site.com/product/123
(, , ) 123, URI, . . , , :
POST//site.com/shoppingcart/
{productid = 123}
( URI DELETE, ) (, XML, URI, ). .
"" , . , . ( , ...) , . , - .
, cookie, javascript . REST script - - XSLT XML , , , , -.
REST, , . , ( ).
, "" REST, :
http://www.infoq.com/articles/subbu-allamaraju-rest