title: Azure WebJob calling WebAPI on same host
body: <p>I have a WebJob which calls API endpoints on the same host. As per samples on I've gathered the HttpClient requires the complete URL and the host address is set through configuration. I want a mostly configuration-less setup and have the webjob calling the localhost. Is it possible to use:</p>
  
  <ul>
  <li><a href="https://localhost" rel="nofollow">https://localhost</a>?</li>
  <li>Figure out the server url by looking at the host details?</li>
  <li>Skip the host address and use relative paths?</li>
  </ul>
  
  <p>Thanks!</p>
  
  <p>ÉB</p>