![]() POST − Updates an existing resource or creates a new resource.īut all who claims cannot be referred to as RESTful API.GET − Provides read-only access to a resource.The main functions used in any REST-based architecture are: This approach provides more flexibility but requires a lot of effort to be built from the very scratch. Now, each of these modules is used to address a specific part of the transaction. Basically, the REST API breaks down a transaction in order to create small modules. To understand better, let’s dive a little deeper and see how exactly does a REST API work. It is completely based on the resources where each and every component is regarded as a component and a single resource is accessible through a common interface using the standard HTTP method. It is often regarded as the “ language of the internet”. REST architectural style helps in leveraging the lesser use of bandwidth which makes an application more suitable for the internet. In simpler terms, it is an application program interface (API) that makes use of the HTTP requests to GET, PUT, POST and DELETE the data over WWW. It is an architectural style as well as an approach for communications purposes that is often used in various web services development. REST or RESTful stands for REpresentational State Transfer. ![]()
0 Comments
Leave a Reply. |