While designing REST APIs, we need to focus on all these best practices to make your REST API the best.
Since REST API is mostly developed for resources like services, it is essential to use Nouns and not verbs. So it is better to use only Nouns to represent an entity in REST endpoint paths. This is because the HTTP request method already consists of verbs. So having verb in REST API endpoints will not pull any new information. You must use tags to change the resource’s state.
The following table helps you in understanding the REST API Verbs:
| REST Verb | Action |
|---|