What is an API route?

HTTP Methods

There are a few common HTTP methods that are used in API routes.

API routes best practices

1. Use a verb followed by a noun

2. Use plural nouns for resources

3. Consistent naming

4. Avoid using abbreviations

5. Add API version