response.content.readasstringasync() to object
问题 Hy Guys !! My problem is that i can not extract an object sent by an api, despite i have the schema of the object either in the API or in the client. my code public async Task<ActionResult> Index() { HttpClient client = new HttpClient(); Uri baseAddress = new Uri("http://localhost:44237/"); client.BaseAddress = baseAddress; HttpResponseMessage response = client.GetAsync("api/Front/Subm?IdSubmission=1xxx").Result; try { if (response.IsSuccessStatusCode) { string Result = await response.Content