Resource-based communication
REST is generally a good fit for retrieving records, managing business entities, changing controlled states and exposing finite collections. An application can request a particular order, retrieve its permitted history or submit a cancellation instruction through a stable interface. The important distinction is between exposing a business capability and exposing an internal database table. Consumers should see concepts that have a recognised purpose, not unrestricted access to application storage.


