Getting result from HttpResponseMessage



The fastest way to get json out of a HttpClient's GetAsync method is shown in code below :-

var result = await response.Content.ReadAsStringAsync(); 

Comments

Popular posts from this blog

PySpark - Working with JDBC Sqlite database