用 Microsoft.AspNet.WebApi.Cors實(shí)現(xiàn)WEBAPI的跨域,跨域似乎是可以了,但是引發(fā)了另一個(gè)錯(cuò)誤,如下:處理 HTTP 請(qǐng)求導(dǎo)致了異常。請(qǐng)參見此異常的 "Response" 屬性返回的 HTTP 響應(yīng),以了解詳細(xì)信息。StackTrace: 在 System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger, CancellationToken cancellationToken)在 System.Web.Http.ModelBinding.FormatterParameterBinding.ReadContentAsync(HttpRequestMessage request, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger)在 System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__18.MoveNext()似乎是值綁定的問題!
webapi 跨域的 問題
烙印99
2018-08-17 06:09:48
