title: Get JSON response from Web API
body: <p>I want to get <code>JSON</code> response from <code>Web API</code> Call. I am calling it like below</p>
  
  <pre><code>HttpClient client = new HttpClient();
  client.BaseAddress = new Uri("http://myapi.proj.com/");
  client.DefaultRequestHeaders.Accept.Clear();
  client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
  client.DefaultRequestHeaders.Add("Authorization", "Basic TUNTRTpNQ1MhZTIwMTc=");
  client.DefaultRequestHeaders.Add("ClientURL", "http://123.com");
  var response = client.PostAsJsonAsync("api/name/", priceRequest).Result;
  </code></pre>
  
  <p>I am unable to <code>JSON</code> in response variable. I want to get <code>JSON</code> response and assign it to my <code>class</code> which is somewhat like below</p>
  
  <pre><code>public class Information
  {
      public int id{ get; set; }
      public string Name{ get; set; }
      public string address{ get; set; }
  }
  </code></pre>