REST API background
A RESTful API uses standard HTTP methods (Get, Post, Delete) to provide interactions between a client and a server. The API is stateless - 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 POST request
- Delete data by sending a DELETE request
GET and DELETE are idempotent. The operation will produce the same result no matter how many times it is repeated.