Rest API
REST API stands for Representational State Transfer Application Programming Interface. It is a type of web API that uses HTTP methods to perform operations on resources. REST is an architectural style that is used to create web services that are scalable, flexible, and loosely coupled.
In RESTful API, the resources are represented by URIs (Uniform Resource Identifiers), and the HTTP methods such as GET, POST, PUT, DELETE, and PATCH are used to manipulate these resources. For example, the GET method is used to retrieve a resource, the POST method is used to create a new resource, the PUT method is used to update an existing resource, and the DELETE method is used to delete a resource.
Get Pratheepa Muthu’s stories in your inbox
Join Medium for free to get updates from this writer.
Some key characteristics of RESTful APIs include:
- Stateless — The server does not store any client context between requests. Each request contains all the necessary information to complete the request.
- Cacheable — Responses to requests can be cached to improve performance and reduce network traffic.
- Uniform interface — The interface between clients and servers is standardized, which promotes interoperability between different systems.
- Layered system — A client may interact with a server through intermediaries such as load balancers, firewalls, and proxy servers.
- Self-describing messages — Each message contains enough information to describe how to process it, which makes the system more flexible and extensible.
RESTful APIs are widely used in web and mobile applications, and they have become the de facto standard for building web services. They are language and platform-independent, which makes them highly flexible and interoperable.






