Best Practices to Design REST APIs. ...
1.Use JSON as the Format for Sending and Receiving Data
2. Use Nouns Instead of Verbs in Endpoints
3 Name Collections with Plural Nouns
4. Use Status Codes in Error Handling...
5. Use Nesting on Endpoints to Show Relationships
6.. Use Filtering, Sorting, and Pagination to Retrieve the Data Requested
7. Use SSL for security
8. Be clear with versioning
9. Provide Accurate API Documentation