pass data with redirect express code example Example: express redirect with post data app.post('/', function(req, res) { res.redirect(307, '/test'); });