- Which HTTP method would you use to update a record through an API?
- put
- Which REST methods require an ID parameter?
- put
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 is a way of manipulating information, describing the function of an application. REST is controlling data through HTTP commands.
- If you had to describe the process of creating a RESTful API in 5 steps, what would they be?
- setup server with basic installs and middleware
- setup end points, bring in APIs and test server.
- setup schema to define the required object format for post methodology.
- connect with front end