title: Re-routing Error asp.net Core with Ocelot (7.0.4)
body: <pre><code>"ReRoutes": [
  {
    "DownstreamPathTemplate": "/api/Agent/GetPagedAgents?page={page}",
    "DownstreamScheme": "http",
    "DownstreamHostAndPorts": [
      {
        "Host": "agent.api",
        "Port": 80
      }
    ],
    "UpstreamPathTemplate": "/api/account/user/list/GetPagedAgents?page={page}",
    "UpstreamHttpMethod": []
  
  }]
  </code></pre>
  
  <p>Here I am trying to Re-route my UpstreamPathTemplate to DownstreamPathTemplate from a query string,</p>
  
  <pre><code>"http://accountmanagement/api/account/user/list/GetPagedAgents?page=1"
  </code></pre>
  
  <p>this is my query string am sending to my account management service for re-route to my agent service using ocelot.</p>
  
  <p>This is my Controller method in agent service for receiving re-routed path</p>
  
  <pre><code>    [HttpGet]
      [Route("GetPagedAgents")]
      [ProducesResponseType((int)HttpStatusCode.OK)]
      [ProducesResponseType((int)HttpStatusCode.BadRequest)]
      public IActionResult Get(string page, string pageSize, string filter, 
      string sortBy)
      {
          var Result = _agentServices.GetAll(Convert.ToInt32(page), 
  Convert.ToInt32(pageSize),filter,sortBy);
  
            return Ok(Result);
      }
  </code></pre>
  
  <p>But it's not working. In my OUTPUT window its showing message: Unable to find downstream route for path: /api/account/user/list/GetPagedAgents, verb: GET</p>
  
  <p>that means here it's taking my UpstreamPath as </p>
  
  <pre><code> Upstream url path is /api/account/user/list/GetPagedAgents
  </code></pre>
  
  <p>missing the parameter here.</p>
  
  <p>any help will be appreciated. Thank you</p>