title: Not able to hit a specific Get method ...Error 404 Not Found
body: <pre><code>[HttpGet]
      [ActionName("all")]
      public HttpResponseMessage GetAllCompetitions()
      {
          return Request.CreateResponse(HttpStatusCode.OK, Repository.FindAll());
      }
  
      [HttpGet]
      [ActionName("GetCompetition")]
      public HttpResponseMessage GetCompetitionById(long id)
      {
          Competition competition = Repository.FindById(id);
          if (competition == null)
          {
              return Request.CreateResponse(HttpStatusCode.NotFound);
          }
          return Request.CreateResponse(HttpStatusCode.OK, competition);
      }
  
      [HttpGet]
      [ActionName("format")]
      public HttpResponseMessage format(string postedFormat)
      {
          CompetitionMediaFormat format = (CompetitionMediaFormat)Enum.Parse(typeof(CompetitionMediaFormat), postedFormat, true);
  
          return Request.CreateResponse(HttpStatusCode.OK, Repository.FindByFormat(format));
      }
  </code></pre>
  
  <p>I am able to hit the first two get methods but when i hit "format" method am getting a 404 Not found error</p>
  
  <p><strong>Client App call</strong></p>
  
  <p>var response = await client.GetAsync("api/Competition/format/music");</p>
  
  <p><strong>Route Config</strong></p>
  
  <pre><code>config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{action}/{id}",
              defaults: new { id = RouteParameter.Optional }
          );
  </code></pre>
  
  <p>Please let me know where am going wrong?</p>