*Readings: More CRUD
CRUD Basics
- Which HTTP method would you use to update a record through an API? Update.
- Which REST methods require an ID parameter? Put/Update.
Speed Coding: Building a CRUD API
- What’s the relationship between REST and CRUD? CRUD is a way of manipulating information, describing the function of an application. REST is controlling data through HTTP commands. It is a way of creating, modifying, and deleting information for the user. CRUD functions can exist in a REST API, but REST APIs are not limited to CRUD functions.
- If you had to describe the process of creating a RESTful API in 5 steps, what would they be? Identify the resources, create model uri’s, determine resource representations, assign http methods, and logging/security.
References
https://medium.com/geekculture/crud-operations-explained-2a44096e9c88
https://www.youtube.com/watch?v=EzNcBhSv1Wo
https://www.logicmonitor.com/blog/rest-vs-crud#:~:text=In%20its%20base%20form%2C%20CRUD,not%20limited%20to%20CRUD%20functions.
https://restfulapi.net/rest-api-design-tutorial-with-example/