REST API
REST API stands for Representational State Transfer Application Programming Interface. It is a software architecture for web services. Web services that conform to the REST architecture termed as RESTful Web Services (RWS).
It looks like an HTTP URL, but it has a different purpose, based on each method.
Example
Method | Description |
---|---|
GET | Get all the items. |
POST | Create a new item. |
Method | Description |
---|---|
GET | Get the item with ID 1. |
PUT | Replace all information of item with ID 1. |
PATCH | Update some information of item with ID 1. |
DELETE | Delete the item with ID 1. |