reading-notes
My reading notes
Project maintained by brandomoki
Hosted on GitHub Pages — Theme by mattgraham
API Design Best Practices
- What does REST stand for?
- Representational State Transfer (REST) This is an architectural way to design web services
- REST APIs are designed around a __.
- What is an identifier of a resource? Give an example.
- this would be a URL https://this-is-my-url.com/hereismyidentifier
- What are the most common HTTP verbs?
- GET, POST, PUT, PATCH, and DELETE.
- What should the URIs be based on?
- Give an example of a good URI.
- https://adventure-works.com/orders // Good
- What does it mean to have a ‘chatty’ web API? Is this a good or a bad thing?
- Having to make constant request to an api is chatty this is also a larger load
- What status code does a successful GET request return?
- What status code does an unsuccessful GET request return?
- What status code does a successful POST request return?
- What status code does a successful DELETE request return?