title: parsing string to model
body: <p>Have this : </p>
  
  <pre><code> HttpContent requestContent = Request.Content;
   string jsonContent = requestContent.ReadAsStringAsync().Result;
  </code></pre>
  
  <p>then in this jsonContent : </p>
  
  <blockquote>
    <p>ID=1234&amp;toName=&amp;fromId=49gjgijl7a4in</p>
  </blockquote>
  
  <p>I am trying to parse in model : </p>
  
  <pre><code> Model model = JsonConvert.DeserializeObject&lt;Model&gt;(jsonContent);
  </code></pre>
  
  <p>But it throws an exception : </p>
  
  <blockquote>
    <p>Error parsing boolean value. Path '', line 0, position 0</p>
  </blockquote>
  
  <p>Any idea ?</p>
  
  <p>Edit : </p>
  
  <p>My client side logic : </p>
  
  <pre><code>                var client = new HttpClient();
                  var values = new Dictionary&lt;string, string&gt;()
                  {
                      {"toId", obj.toId},
                      {"toName", obj.toName},
                      {"fromId", obj.fromId},
                  };
                  var content = new FormUrlEncodedContent(values);
  
                  var response = await client.PostAsync(apiUrl, content);
                  response.EnsureSuccessStatusCode();
  </code></pre>