title: WSO2 API Manager - API Definition URL Mapping
body: <p>Here is a simplified ASP.NET Web API</p>
  
  <pre><code>public string Get() {
      return $"Received value: 1,2 in string Get()";
  }
  
  public string Get([FromUri] int id) {
      return $"Received value: {id} in Get(int id)";
  }
  </code></pre>
  
  <p>How do I map these in WSO2 API Definition? I tried the below, but it does not seem to work. </p>
  
  <p><a href="https://i.stack.imgur.com/rJacX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rJacX.png" alt="API Definition"></a></p>
  
  <p>I get the below error </p>
  
  <pre><code>{"fault":{"code":900906,"message":"No matching resource found in the API for the given request","description":"Access failure for API: /api/1.0, version: 1.0 status: (900906) - No matching resource found in the API for the given request. Check the API documentation and add a proper REST resource path to the invocation URL"}}
  </code></pre>
  
  <p>I would like the url to invoke something like this </p>
  
  <pre><code>http://localhost:8280/api/Default
  http://localhost:8280/api/Default?id=123
  </code></pre>
  
  <p>Thanks in advance for your help!</p>