node.js - express redirect as POST
علی ذوالفقار
1399/02/01 07:19:49 (5)
normal redirect : 

app.post('/', function(req, res) {
  res.redirect('/test');
});

redirect as post : 

app.post('/', function(req, res) {
  res.redirect(307, '/test');
});
Back