REST APIs Architecture, Representational State Transfer.

1

REST API Architecture

REST stands for

Representational State Transfer.

01. The REST architecture is the most popular approach to build APIs.

Rest relies on a client and server approach which separates front and back ends of the API, $ provides considerable flexibility in development and implementation.

This means the implementation of the client and the implementation of the server can be done independently without each knowing about the other.

02. APIs that here to REST principles are called RESTful.

A Restful system consists of a 

. client who requests for the resources
. server who has the resources

In the REST architecture, clients send requests to retrieve or modify resources, and servers send responses to those requests.

By using a REST endpoints, perform the same actions, and receive the same responses.

03. REST requires that a client make a request to the server in order to retrieve or modify data on the server.

A request generally consists of :

. an HTTP verb, which defines what kind of operation to perform
. a header, which allows client to pass along information about the request
. a path to a resource
. an optional message body containing data

Post a Comment

1 Comments
Post a Comment
To Top