REST stands for Representational State Transfer and is defined as a very simple interface for exchanging data over HTTP without the complexities of web services. SOAP.REST is accessed using either an HTTP get or post, depending on whether you wish to read or write data. Systems that are using REST are often referred to as RESTFul or as a RESTFul data service. The next two examples, using JSON and XML with the Flex <mx:HTTPService> component, illustrate use of a RESTFul data service.
Listing 7-6 is an example of a JSON file.