Difficulty: 4/10routing, URL parameters, middleware orderingRoute paths define the endpoints at which requests can be made. Route paths can be strings, string patterns, or regular expressions.Route paths based on stringsCopyRoute paths based on string patternsCopyRoute paths based on regular expressionsCopyScenario Questions0-2 years experience1How would you define a route in Express to handle GET requests to '/users/:id' and retrieve the id parameter?2If you add a route '/users/:id' after a more generic '/users' route, what will happen when a request comes to '/users/123'?3What response does Express send if no route matches the incoming request path?Follow-up QuestionsCan you walk me through how Express parses a path to extract parameters?What would you adjust if you needed case‑insensitive matching for routes?How do you verify that your route ordering behaves as expected in tests?Suggest Improvement