title: Get route url for a http triggered functions in an ARM template
body: <p>I'm trying to figure out how to get the route for an HTTP triggered Azure Function within an ARM template.</p>
  
  <p>Thanks to a blog post I managed to find out the listsecret command, but when trying to execute this action via powershell, the output doesn't give me the trigger_url I was expecting. The URL does not comply with the configured route of the function, and shows the default trigger if no route would have been configured.</p>
  
  <p>Any way I can get a hold of the configured route instead since I can't seem to use the trigger_url.</p>
  
  <p>My configured route has got parameters in the path as well, e.g.:</p>
  
  <pre><code>{
    "name": "req",
    "type": "httpTrigger",
    "direction": "in",
    "authLevel": "function",
    "methods": [
      "POST"
    ],
    "route": "method/{userId}/{deviceId}"
  }
  </code></pre>
  
  <p>The output of listsecrets is:</p>
  
  <p><code>trigger_url: https://functionapp.azurewebsites.net/api/method?code=hostkey</code></p>
  
  <p>Is there any other way to extract the host key and route?</p>