RESTful API with Node.JS (01)


     So,What is RESTful API actually? REST stands for Representational State Transfer.This basically means that each unique URL is a representation of some object. This is an application program interface (API) and also RESTful APIs are stateless backends.
     A RESTful API breaks down a transaction to create a series of small modules. Each module addresses a particular underlying part of the transaction. This modularity provides developers with a lot of flexibility, but it can be challenging for developers to design from scratch. Currently, the models provided by Amazon Simple Storage Service, Cloud Data Management Interface and OpenStack Swift are the most popular.
    A RESTful API explicitly takes advantage of HTTP methodologies. They use GET to retrieve a resource; PUT to change the state of or update a resource, which can be an object, file or block; POST to create that resource; and DELETE to remove it.
   Because the calls are stateless,REST is useful in cloud applications. Stateless components can be freely redeployed if something fails, and they can scale to accommodate load changes.

No comments:

Powered by Blogger.