I run this code in .net core console to call an api :
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Ne