title: Call HTTP GET with JSON body content parameters
body: <p>How can I call HTTP GET using JSON parameters in content body?</p>
  
  <p>I tried this:</p>
  
  <pre><code>HttpWebRequest.WebRequest.Create(_uri);
  httpWebRequest.ContentType = "application/json";
  httpWebRequest.Method = "GET";
  httpWebRequest.Headers.Add("X-AUTH-TOKEN", _apiKey);
  
  using(var streamWriter = new StreamWriter(httpWebRequest.GetRequestStream())) {
    string _json = "\"{\"filter\": {\"relation\": \"equals\", \"attribute\": \"state\", \"value\": \"CA\"  },  \"insights\": {\"field\": \"family.behaviors\",  \"calculations\": [\"fill_count\"]}}";
  
    streamWriter.Write(_json);
    streamWriter.Flush();
    streamWriter.Close();
  }
  
  var httpResponse = (HttpWebResponse) httpWebRequest.GetResponse();
  using(var streamReader = new StreamReader(httpResponse.GetResponseStream())) {
    var result = streamReader.ReadToEnd();
  }
  </code></pre>
  
  <p>but it throws an exception:</p>
  
  <blockquote>
    <p>"Cannot send a content-body with this verb-type."</p>
  </blockquote>