Answers for "pasar datos al redirect js node"

0

pasar datos al redirect js node

app.get('/redirect', function(req, res) {
  var string = encodeURIComponent('something that would break');
  res.redirect('/your/redirection/url/?data=' + string);
});
Posted by: Guest on September-24-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language