Api controller declaring more than one Get statement
This is all in the routing. The default Web API route looks like this: config.Routes.MapHttpRoute( name: “API Default”, routeTemplate: “api/{controller}/{id}”, defaults: new { id = RouteParameter.Optional } ); With the default routing template, Web API uses the HTTP method to select the action. In result it will map a GET request with no parameters to … Read more