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