- Describe the concept of resources in relation to REST and APIs
- Identify conventions for various routes including naming convention, HTTP verbs, and status codes
- Build RESTful routes for a given resource
-
What is a resource?
Your answer...
-
What are the five common actions of an API? What methods and status codes are typically used for the five common actions?
Your answer...
-
How would you build RESTful routes for the following data?
const sandwiches = [ { name: 'Sausy Sausage' ingredients: ['sausage', 'tangy sauce'] }, { name: 'The Godfather' ingredients: ['mozarella', 'tomato'] } ]
Your answer...
-
Build RESTful routes for one of the following resources: cards, dogs, engineers
Your answer...