How to connect Curl to C# APIV2

Hey @kfogarty, I think I can help here!

First off, it looks like you need to change the AddJsonBody line to serialize an object into a key-value pair like so (article):

request.AddJsonBody(
    new 
    {
      query = "query {boards(ids: 354318007) {name}}",
      variables = ""
    }); // AddJsonBody serializes the object automatically

If I understand the above code correctly, once you do that and it successfully executes, you will be able to access the data returned by our server by calling methods on the response object.

Finally, you can see if any errors are thrown by our server by checking the status code or by looking at the body of the response itself. Something like response.body.errors :slight_smile: