casstudios.blogg.se

Restful api nodejs
Restful api nodejs




restful api nodejs

PUT- allows sending an update request to the server.POST - It is used to submit specific data to be processed by the server.The request made to a server uses HTTP methods such as: The following diagram depicts the concept:

restful api nodejs

Typically, you make an API request to the server and get a response back via an HTTP protocol. A RESTful API works almost as the web does. This helps in the formation of a point of contact (an endpoint) between these programs.Īn API that applies the REST style is referred to as RESTful. It defines the communication rules and procedures between two programs. An API uses an agreed-upon data format to send requests and responses back and forth between programs. It is the communication language between two software programs. It uses “representations” of resources (data) to transfer a resource state from a server to the application state on the client-side.ĪPI stands for Application Programming Interface.

restful api nodejs

REST is a set of design criteria rather than the physical structure (architecture). It allows you to create a data object, send the state of that object to the server and return the values of that object. REST stands for REpresentational State Transfer.






Restful api nodejs