title: Get method not working in web api
body: <p>Hi I am developing one application in web api2 and angularjs. I have some routing problems in accessing urls from angularjs.</p>
  
  <p>I am trying to access below url. </p>
  
  <pre><code>var url = '/api/projects/4/processes';
  </code></pre>
  
  <p>My controller code looks like below.</p>
  
  <pre><code>[RoutePrefix("api/processes")]
  public class processesController : ApiController
  {      
      [ActionName("projects/{projectsId}/processes")]
      public HttpResponseMessage Get(int id)
      {
          return Request.CreateResponse(HttpStatusCode.OK, "");
      }
  }
  </code></pre>
  
  <p>I am getting 404 error. I am not able to hit the url.</p>
  
  <p>This is my webapi.config file.</p>
  
  <pre><code>config.Routes.MapHttpRoute(
      name: "DefaultApi",
      routeTemplate: "api/{controller}/{id}",
      //routeTemplate: "{controller}/{id}",
      defaults: new { id = RouteParameter.Optional }
  );
  </code></pre>
  
  <p>Any help would be appreciated.</p>