RESTful API with Node.JS (01)
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.
RESTful API with Node.JS (01)
Reviewed by TechPoint
on
February 08, 2018
Rating: 5