Question 1 / 4 You define route.get("/notes", notes::index) in src/routes/api.rs. Which URL matches it?
The routing guide says Laravel prefixes every URI in the api route file with /api. Change that with api_prefix if you want a different prefix.
Review the lesson Question 2 / 4 A handler is renamed. What still compiles when the old string URL is gone?
redirect!(notes::show, ¬e)
route! and redirect! point at the handler. Renaming or removing that function is a compile error at every call site.
Review the lesson Question 3 / 4 A request hits /users/42 and no user has that id. What does route model binding do?
The routing guide’s binding example says Laravel responds with a 404 page when no user has that id.
Review the lesson Question 4 / 4 Which group already gives a route sessions, encrypted cookies, and CSRF protection?
web routes run in the web middleware group. api routes are stateless. routes() adds neither the session group nor the CSRF check.
Review the lesson Each answer is worth 25 points. Replays keep your highest score.