title: Passing multiple scalar parameters to WebAPI via HttpClient.PostAsJsonAsync
body: <p>Here's my method:</p>
  
  <pre><code>[HttpPost]
  [ActionName("TestString")]
  public string TestString([FromBody] int a, [FromBody] int b, [FromBody] int c)
  {
    return "test " + a + " " + b + " " + c;
  }
  </code></pre>
  
  <p>Is there any way that i can call this method using <code>HttpClient.PostAsJsonAsync</code> </p>
  
  <p>I've tried this: </p>
  
  <p><code>HttpResponseMessage response = client.PostAsJsonAsync("api/task/TestString","a=8,b=5,c=6").Result;</code></p>
  
  <p>But I get this error: <code>StatusCode: 500, ReasonPhrase: 'Internal Server Error'</code></p>
  
  <p>Thanks in advance!</p>