In general, it is the communication of two softwares with each other. It is the interface that enables the operations that a software can perform, to be accessed and used from outside under certain conditions. In summary, we can perform an additional operation that we want to perform in an application using an API from another application that provides that operation.
- The use of API frees us from the workload of the related process. “API makes life easier”.
- APIs are designed for specific user audiences and allow us to quickly generate relevant data.
- They work platform independent.
- In the case of an update, the actions we have to do are limited.
Representational state transfer; It is sending the data corresponding to the relevant request in file formats such as JSON / XML. REST APIs are APIs that carry the principles of REST architecture.
The condition that all the principles are met is called a RESTfull API.
- GET
- POST
- PUT
- DELETE