Course 301, Entry 13: More CRUD
CRUD Basics
Which HTTP method would you use to update a record through an API?
To update, the PUT HTTP method is ideal.
Which REST methods require an ID parameter?
To use the DELETE and UPDATE methods, an Id tag is needed.
Building a CRUD API
What’s the relationship between REST and CRUD?
CRUD is the accroynm for the operations. While REST is the actual HTTP methods.
If you had to describe the process of creating a RESTful API in 5 steps, what would they be?
- Create a Router
- Connect Database
- Set the schema
- Try Catch responses
- Validate
Things I want to know more about
Best practices of when to use various status codes.