CRUD Basics
Which HTTP method would you use to update a record through an API? Update
Which REST methods require an ID parameter? Update, Delete
Speed Coding: Building a CRUD API (Watch a Twitch streamer code an Express API in 20 minutes!)
What’s the relationship between REST and CRUD?
CRUD functions can exist within a REST API architecture. However, Rest APIs can be independent of any of the CRUB functions because in some instances, such a rebooting a server, they don’t have to use CRUD to do so. Their functions may be similar, but they do different things. The best way to differentiate between them is to remember that REST is a standard (an API architecture), and CRUD is a function.
source: https://www.logicmonitor.com/blog/rest-vs-crud
If you had to describe the process of creating a RESTful API in 5 steps, what would they be?
- Identify your object model
- Identify the URIs
- Define the Representations
- Assign HTTP Methods
- Create error messaging
source: https://www.wutsi.com/read/246/5-steps-for-designing-your-rest-apis