using (HttpClient client = new HttpClient())
{
try
{
string resposta = await client.GetStringAsync("https://anapioficeandfire.com/api/characters/58");
Console.WriteLine(resposta);
}
catch (Exception ex)
{
Console.WriteLine($"Houve um problema: {ex.Message}");
}
}