![]() ![]() In order for an API to be considered RESTful, it has to conform to these criteria: JSON is the most generally popular because, despite its name, it’s language agnostic, as well as readable by both humans and machines. This information, or representation, is delivered in one of several formats via HTTP: JSON, HTML, XLT, or plain text. When a request is made via a RESTful API, it transfers a representation of the state of the resource to the requester. A REST API is a way for two computer systems to communicate over HTTP in a similar way to web browsers and servers. REST is an acronym for Representational State Transfer. So, at the very first begining, we’ll see what is meant by REST API.Ī REST API (also known as RESTful API) is an application programming interface that conforms to the constraints of REST architecture. Through this post I am going to implement a simple REST API with Node.js.
0 Comments
Leave a Reply. |