I\'m using Node.js with express and already know the existence of response.redirect().
response.redirect()
However, I\'m looking for more of a forward() funct
forward()
Using the next function does not work if the next handler is not added in the right order. Instead of using next, I use the router to register the handlers and call
next
router.get("/a/path", function(req, res){ req.url = "/another/path"; router.handle(req, res); }