title: How to get the base-url in node-red?
body: <p>I'm trying to expose a <code>JSON</code> as a <code>POST</code> request, where I'm trying to append the base-url with another value.</p>
  
  <p>How could I get the base url value? </p>
  
  <p>I tried using:</p>
  
  <pre><code> var root = RED.settings.httpNodeRoot;
  </code></pre>
  
  <p>but then it returned only /, where as I'm expecting something like <code>http://localhost:1880</code>.</p>
  
  <p>Is it possible to get the base url by using any node-red api?  Any help could be appreciated.</p>