I need to get response from url using the following headers:
HttpClient httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Add("Content-Type", "application/json");
httpClient.DefaultRequestHeaders.Add("X-apiKey", App.API_Key);
string responseAsString = await httpClient.GetStringAsync("http://......./");
it stop running at this line without any value for responseAsString:
httpClient.DefaultRequestHeaders.Add("Content-Type", "application/json");