title: How to put variables inside double quotations in node js
body: <p>I want to put variables inside res redirect inside the post route and then get that variable in get route. I don't know how to do it. Thank you.</p>
  
  <pre><code>router.post("/message", function(req, res) {
   var email = req.body.email;
   res.redirect("/passingemail/&lt;%= email %&gt;");  // I try to put the variable email like this but it doesn't work
  });
  
  //my goal is I want to get the value here 
  router.get("/paddingemail/:email", function (req, res){
  });
  </code></pre>