REST defines a set of architectural principles by which you can design Web services that focus on a system's resources, including how resource states are addressed and transferred over HTTP by a wide range of clients written in different languages. 

Use HTTP methods explicitly.
Be stateless.
Expose directory structure-like URIs.

Transfer XML, JavaScript Object Notation (JSON), or both.

EX: AJAX - Asynchronous Javascript + XML - XML over http