Wednesday, November 18, 2020

Rest API Guide/Conventions

 

https://stackoverflow.blog/2020/03/02/best-practices-for-rest-api-design/

Accept and respond with JSON

Use nouns instead of verbs in endpoint paths

Name collections with plural nouns

Nesting resources for hierarchical objects

Handle errors gracefully and return standard error codes

Allow filtering, sorting, and pagination

Maintain Good Security Practices

Cache data to improve performance

Versioning our APIs

No comments:

Post a Comment

API interview questions

  https://www.katalon.com/resources-center/blog/web-api-testing-interview-questions/ Top 50+ Web API Testing Interview Questions [Ultimate l...