// See https://aka.ms/new-console-template for more information using static System.Net.WebRequestMethods; HttpClient http = new HttpClient(); //http.BaseAddress = new Uri("https://localhost:7006/"); Console.WriteLine(await http.GetStringAsync("https://localhost:7006/api/Champion")); Console.WriteLine(await http.GetStringAsync("https://localhost:7006/api/Champion/1"));