title: using jQuery post to ASP.Net webapi
body: <p>Having some trouble: </p>
  
  <p>I do this simple test and the alert pops up the text "test return simple":</p>
  
  <p>jQuery post:</p>
  
  <pre><code>$.post("http://www.localhost/webapi/api/corkboard/test/", jsonData)
              .done(function(data){
                  alert(data);
          });
  </code></pre>
  
  <p>Asp.Net WebAPI: </p>
  
  <pre><code>[HttpPost]
  public string test()
  {        
      return "test return simple";
  }
  </code></pre>
  
  <p>But when I change the WebAPI by adding a parameter:</p>
  
  <pre><code>public string test(string JSONData)
      {
          var jData = Json.Decode(JSONData);
          return "test return: " + jData.Filter;            
      }
  </code></pre>
  
  <p>I get the following error message:</p>
  
  <p>"No HTTP resource was found that matches the request URI '<a href="http://www.localhost/webapi/api/corkboard/test/">http://www.localhost/webapi/api/corkboard/test/</a>'</p>
  
  <p>Stuck and would appreciate any thoughts ... thanks !</p>