[Solved] Read data instead of Response from C# Web API [closed]


use async method

 await response.Content.ReadAsStringAsync()

or if you prefer just for testing or for special cases some ui-blocking old style
you can do

 response.Content.ReadAsStringAsync.Result() 

But not recommend

solved Read data instead of Response from C# Web API [closed]