REST
REST stands for Representational State Transfer. It is a set of architecture principles for design of client-server services. In general, a web service is considered “RESTful,” meaning it follows REST principles, under the following conditions:
- When it uses HTTP methods (GET, POST)
- When it is stateless, meaning that each transaction is independent from other transactions
- When it uses directory-style URLs to pass data rather than query string variables (
www.afakeurl.com/shawn/van_every
instead ofwww.afakeurl.com/?firstname=shawn&lastname=van_every
) - When it uses XML (or JSON) for the transfer of data.
A good place to learn more about REST-based web service architecture is an article entitled “RESTful Web Services: The Basics,” by Alex Rodriguez, ...
Get Pro Android Media: Developing Graphics, Music, Video, and Rich Media Apps for Smartphones and Tablets now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.