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()
You can use run-middleware module exactly for that. Just run the handler you want by using the URL & method & data.
run-middleware
https://www.npmjs.com/package/run-middleware
For example:
app.runMiddleware('/get-user/20',function(code,body,headers){ res.status(code).send(body) })