using System.Collections.Generic;
using System.Threading.Tasks;
using System.Net.Http.Headers;
private const string URL = "https://sutherland-usac.playvox.com/api/v1/evaluations";
private static string urlParameters = "?include=all";
public static void Main()
HttpClient client = new HttpClient();
client.BaseAddress = new Uri(URL);
HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(URL);
client.DefaultRequestHeaders.Authorization =new AuthenticationHeaderValue("Basic",Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(string.Format("{0}:{1}", "5b280af5e4b39f4f015c486f", "750e2192276803abaf692908cbbd54f89ebf7e23"))));
HttpResponseMessage response = client.GetAsync(urlParameters).Result;
Console.WriteLine("TEST");
if (response.IsSuccessStatusCode)
string responseData = response.Content.ReadAsStringAsync().Result;
Console.WriteLine(responseData);
Console.WriteLine("{0} ({1})", (int)response.StatusCode, response.ReasonPhrase);