title: Post with JObject Parameter
body: <p>I need to call a Post method defined in a Controller, which has a JObject Parameter.</p>
  
  <p>I'm getting a 500 Error code When I call this method with PostAsJsonAsync or PostAsync.</p>
  
  <p>The code below shows how I'm calling this Post Method:</p>
  
  <pre><code>using (var client = new HttpClient())
  { 
  client.BaseAddress = new Uri("http://localhost:54810");
  client.DefaultRequestHeaders.Accept.Clear();
  client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
  
  var jsonObject = new JObject();
  dynamic json = jsonObject; 
  json.Add("mytoken", "teste");
  
  json.eventos = new JArray() as dynamic;
  
  dynamic evento = new JObject();
  evento.ID = 1;
  evento.Latitude = 50;
  evento.Longitude = 20;
  evento.Local = 30;
  
  json.eventos.Add(evento);
  
  HttpResponseMessage response = await client.PostAsJsonAsync("api/eventocontrole", jsonObject);
  </code></pre>
  
  <p>The <strong><em>response.IsSuccessStatusCode</em></strong> property is returning false.</p>
  
  <p>If I change this parameter type from JObject to any other custom class (eg. User, Product, Cart), the property <strong>IsSuccessStatusCode</strong> returns <strong>true</strong>!</p>
  
  <p>Am I using JObject incorrectly? Should I not use JObject as parameter?</p>
  
  <p>Just to clarify, I'm using JObject because I need to pass a list of objects and a token string to validate my request.</p>