I\'m new to C# and I\'m trying to get the JSON response from a REST request using RestSharp;
The request I want to execute is the following one : \"http://myurl.com/ap
If you want to save the result into JSON file: You should use these namespaces:
using RestSharp;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
var client = new RestClient("http://myurl.com/api/");
var request = new RestRequest(Method.GET);
request.AddHeader("content-type", "application/json");
var queryResult = client.Execute