title: web.api cannot test action
body: <p>I have created a Web.API, MVC application but ran into some trouble when trying to test it. I get this error:</p>
  
  <blockquote>
    <p>"{"Message":"No HTTP resource was found that matches the request URI '<a href="http://localhost:60104/api/order/SayWhat/33" rel="nofollow">http://localhost:60104/api/order/SayWhat/33</a>'.","MessageDetail":"No type was found that matches the controller named 'order'."}"</p>
  </blockquote>
  
  <p>OrderController</p>
  
  <pre><code>[System.Web.Http.HttpGet]
  public string SayWhat(string quoteName)
  {
      return "Hello World " + quoteName;
  }
  </code></pre>
  
  <p>WebApiConfig        </p>
  
  <pre><code>config.Routes.MapHttpRoute(
      name: "DefaultPostApi",
      routeTemplate: "api/{controller}/{action}/{quote}"
  );
  
  config.Formatters.JsonFormatter.SupportedMediaTypes.Add(new MediaTypeHeaderValue("text/html"));
  </code></pre>