title: How to get the full URL in Express?
body: <p>Let's say my sample URL is</p>
  <blockquote>
  <p><a href="http://example.com/one/two" rel="noreferrer">http://example.com/one/two</a></p>
  </blockquote>
  <p>and I say I have the following route</p>
  <pre><code>app.get('/one/two', function (req, res) {
      var url = req.url;
  }
  </code></pre>
  <p>The value of <code>url</code> will be <code>/one/two</code>.</p>
  <p>How do I get the <strong>full URL</strong> in Express?
  For example, in the case above, I would like to receive <code>http://example.com/one/two</code>.</p>