title: Unable to get json data from curl graph api using c#
body: <p>I'm executing curl graph api using c#.</p>
  
  <p>I took my curl query used this website and convert it into c#.
  <a href="https://curl.olsh.me/" rel="nofollow noreferrer">https://curl.olsh.me/</a></p>
  
  <p>Api is able to give 200 ok status code and but output is below-</p>
  
  <pre><code>{
    "extensions" : {
      "requestId" : "123"
    },
    "data" : null,
    "errors" : [ {
      "message" : "Unable to process JSON",
      "extensions" : {
        "errorType" : "developer_error",
        "errorClass" : "VALIDATION"
      }
    } ]
  }
  result string conv: StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
  {
    Connection: keep-alive
    Braintree-Version: 2016-10-07
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    Vary: Braintree-Version
    X-Cache: Miss from cloudfront
    X-Amz-Cf-Pop: MIA3-C2
    X-Amz-Cf-Id: 111
    Date: Tue, 10 Sep 2019 16:13:54 GMT
    Via: 1.1 demo.cloudfront.net (CloudFront)
    Content-Length: 286
    Content-Type: application/json
  }
  </code></pre>
  
  <p>C# code -</p>
  
  <pre><code>    HttpClientHandler handler = new HttpClientHandler()
      {                
          UseProxy = false,
      };
  
      using (var httpClient = new HttpClient(handler))
      {
          using (var request = new HttpRequestMessage(new HttpMethod("POST"), "https://demo/graphql"))
          {
              // Prod token
              request.Headers.TryAddWithoutValidation("Authorization", "Basic abc");     
              request.Headers.TryAddWithoutValidation("Braintree-Version", "2019-01-01");
              request.Content = new StringContent("{\"query\": \"{ report { transactionLevelFees(date: \"2019-08-28\"){ url } } }\" }", Encoding.UTF8, "application/json");
              request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
              var response = await httpClient.SendAsync(request);
  
              // Get the response content.
              HttpContent responseContent = response.Content;
              response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
              // Get the stream of the content.
              using (var reader = new StreamReader(await responseContent.ReadAsStreamAsync()))
              {
                  // Write the output.
                  Console.WriteLine((await reader.ReadToEndAsync()));
              }
              Console.WriteLine($"result string conv: {response }");
          }
      }
  </code></pre>
  
  <blockquote>
    <p>I expect in output i should get something in data json</p>
  </blockquote>