title: how to send variable data from javascript to node js?
body: <p>I want to send the variable from javascript to node js</p>
  <p>here I am storing some data in my javascript variable</p>
  <pre><code>var roomurl = &quot;this is the data&quot;;
  </code></pre>
  <p>And here is my nodejs code</p>
  <pre><code>app.post(&quot;/newcall&quot;, function(req, res) {
    var n = (req.body.roomurl);
    console.log(&quot;val&quot;+ n);
  });
  </code></pre>
  <p>I have included all the dependencies like express and body parser</p>
  <p>but I am not how to send it</p>
  <p>can I get help in my javascript code or</p>
  <p>any Url from where I can get to now about how do</p>
  <p>I send data from java script to node js ?
  thanks</p>