Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int GetNrOfStudents()
- {
- HttpClient client = new HttpClient();
- var response = client.GetAsync("http://gitcommits.ikdoeict.net/api/count/1718CSharp").Result;
- string json = response.ToString();
- int test = JsonConvert.DeserializeObject<int>(json);
- return test;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement