REST API Architectural Constraints
What is REST API? HTTP requests, such as GET, PUT, POST, and DELETE data use in RESTful API. It is an Application Program Interface(API). REpresentational state transfer(REST) can be thought of as a language of the Internet, which is used by browsers. REST architectural module contains six constraints that are in any web service. Uniform Interface Stateless Cacheable Client-Server Layered System Code on Demand Let's look at what are those... 1. Uniform Interface To identify the difference between REST API and Non-REST API, this key constraint is used. When interacting with a given server, without think of the device or the application type such as a website or mobile app, is useful if there are is recommended way to communicate with these devices or applications. Basically, there are four guidelines use in Uniform Interface. There are, Resource-Based: Individual resources are identified in the request is simply known as each resource must-have unique and cohesive URI and also it