📜  pasar datos al 重定向 js 节点 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:15.788000             🧑  作者: Mango

代码示例1
app.get('/redirect', function(req, res) {
  var string = encodeURIComponent('something that would break');
  res.redirect('/your/redirection/url/?data=' + string);
});