REST API background
A RESTful API uses standard HTTP methods (GET, POST, DELETE, etc.) to provide interactions between a client and a server. The API is stateless and each request is independent.
The following operations are supported by a RESTful API:
- Fetch data by sending a GET request.
- Add data by sending a POST request.
- Update data by sending a PATCH, PUT, or POST request.
- Delete data by sending a DELETE request.