loading...

re: The broken promise of static typing VIEW POST

TOP OF THREAD FULL DISCUSSION
re: This is interesting. I'm normally of the static typing camp, but I get it. It's one thing to write code that a computer can understand, and it's ...
 

Hey, regarding calling REST API from C# take a look at DalSoft.RestClient

dynamic client = new RestClient("http://jsonplaceholder.typicode.com");

await client.Users.Get();

or try using HttpClient

var httpClient = new HttpClient();
var content = await httpClient.GetStringAsync(uri);
return await Task.Run(() => JsonObject.Parse(content));

Hope it helps!

code of conduct - report abuse