No MediaTypeFormatter is available to read an object of type 'IEnumerable`1' from content with media type 'text/html'.i am getting this error

前端 未结 0 942
暖寄归人
暖寄归人 2020-12-28 15:24

IEnumerable StdList; HttpResponseMessage response = GlobalVariables.WebApiClient.GetAsync("Student").Result; StdList = response.Content.ReadAsAsync

相关标签:
回答
  • 消灭零回复
提交回复
热议问题