title: How to get the complete URL of a Azure Function from a different function inside the same App Service?
body: <p>In Azure Functions, when you create a function, this one gets a unique GET code for calling it. Using a App Service that has two or more functions, I want to, from one of those functions, access the complete URL with the GET code of a different function.</p>
  
  <p><strong>My example sceneraio</strong></p>
  
  <p>I have two functions:</p>
  
  <ul>
  <li>PreSomethingHook</li>
  <li>PostSomethingHook</li>
  </ul>
  
  <p>When "something" happens, <code>/api/PreSomethingHook?code=ew12e12ew2e</code> should be called.
  I want <code>PreSomethingHook</code> to start a long process in an external API which, one of the parameters it receives, is a callback url for when the process finishes. Now, when the process finishes, <code>PostSomethingHook</code> should be called and handle the result.</p>
  
  <p>My problem is that I don't know how to obtain the <em>PostSomethingHook complete url</em> dynamically, without setting it inside a DB or an environment variable. (Which is what I don't want to do)</p>
  
  <p>To conclude,</p>
  
  <p>How can I obtain a function's URL with it's GET code from a different function inside the same App Service?</p>