How to programmatically send a 404 response with Express/Node? by IT Nursery I want to simulate a 404 error on my Express/Node server. How can I do that? 6 Answers 6