Rest API - HTTP Status Codes
In a REST API built with Express.js, you want to handle all unknown routes by returning a 404 JSON response with a message. Which middleware function correctly implements this?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions