Chapter Quiz: Routing Architecture & Request Handling

Mastery Assessment: Routing

Complete this assessment with 100% score to master this chapter.

01Which object contains the values captured by 'route parameters' (e.g. :userId)?

02How do you implement a 'Catch-All' route for 404 errors in Express?

03What is the benefit of using express.Router()?

04In the route path '/user/:id?', what does the '?' signify?