title: In Azure API Management, is it possible to have a template parameter that allows slashes (e.g., a path)?
body: <p>I'm using Azure Data Lake Storage to store a large amount of files. I'm setting up an Azure API Management gateway in front of it, which rewrites the URI and sets the backend service to the <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/data-lake-storage-gen2" rel="nofollow noreferrer">ADLS REST API (Gen2)</a>.</p>
  
  <p>At this point I'm trying to configure the <strong><a href="https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/read" rel="nofollow noreferrer">Path - Read</a></strong> pass-through. My operation in APIM is <code>/data/{filesystem}/{path}?timeout={timeout}</code>, which I would like to be able to call as follows: </p>
  
  <p>(<code>timeout</code> is optional)</p>
  
  <pre><code>filesystem: MyFileSystem
  path:       Path/To/File.json
  </code></pre>
  
  
  
  <pre><code>GET https://example.com/api/data/MyFileSystem/Path/To/File.json
  </code></pre>
  
  <p>However, when I navigate to this operation in the Azure Portal and use the <strong>Test</strong> feature, it reports the following error:</p>
  
  <blockquote>
    <p><code>{ "message": "Unable to identify Api or Operation for this request. Responding to the caller with 404 Resource Not Found." }</code></p>
  </blockquote>
  
  <p>I understand that APIM is likely looking for an operation matching <code>/MyFileSystem/Path/To/File.json</code> and cannot find one.</p>
  
  <p>For what it's worth, my <strong><a href="https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/list" rel="nofollow noreferrer">Path - List</a></strong> endpoint works as I'd expect, which is why I know it's specifically the <code>{path}</code> that's holding me up.</p>
  
  <pre><code>GET https://example.com/api/data/MyFileSystem?recursive=true&amp;resource=filesystem
  </code></pre>
  
  <blockquote>
    <p><code>200 OK</code></p>
  </blockquote>
  
  <p>I imagine I can change from a template parameter to a query parameter, but I'd prefer to avoid that route for now. So, is there a way to have a template parameter that allows slashes?</p>