i got this error System.Net.Http.HttpRequestException: ‘The SSL connection could not be established in C# when using this api https://api.codebazan.ir/arz/?type=arz but when i use this api https://corona.lmao.ninja/v3/covid-19/countries?sort=cases i dont get any error this is my code
static async System.Threading.Tasks.Task Main(string[] args)
{
using (HttpClient client = new HttpClient())
{
string request = "https://api.codebazan.ir/arz/?type=arz";
HttpResponseMessage apirequest = await client.GetAsync(request);
string jsonResponse = await apirequest.Content.ReadAsStringAsync();
}
}
i use window 8.1 and visual studio 2019 any help will be highly appreciated