I tried like this:
if (result.IsSuccessStatusCode) { var content = await result.Content.ReadAsStringAsync(); var