Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space GB and version MASTER

...

REST is an architectural style for network-based software that requires stateless, cacheable, client-server communication via a uniform interface between software components. REST is more a set of architectural principles than a protocol or standard like SOAP. The set of guidelines can be implemented as needed, making REST APIs lightweight, flexible, and widely-used. Since data is not tied to methods and resources, REST can handle multiple types of requests and return sdifferent returns different data formats.

With REST, data and functionality are considered resources. Any information or object that can be named can be a resource: a document or an image, or a collection of other resources. Particular resources involved in an interaction between software components are identified with Uniform Resource Identifiers (URIs). The resources are acted upon by using a set of simple, well-defined operations. Clients and servers exchange representations of resources by using a standardized interface and protocol – typically HTTP. The content of the resources can be accessed in various formats, such as HTML, XML, YAML, JSON, and on.

RESTful

A system REST is called RESTful if it follows some basic principles.???

Principles

:

Client-server communication

...

All components must interact through a single uniform interface. The uniform interface lets the client talk to the server in a single language, independent of the architectural backend of either. This interface should provide an unchanging, standardized means mean of communicating between the client and the server. Interaction with different services is therefore very simple. Implementation changes can be made in isolation and component interaction remains unchanged. 

...