Request.Content.ReadAsMultipartAsync(provider) appears to not be able to parse multi part form data from an AJAX Post/Put. I am using Web Api 2.1
Accept application/json, text/plain, /
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Content-Length 272
Content-Type multipart/form-data; boundary=---------------------------265001916915724
-----------------------------265001916915724 Content-Disposition: form-data; name="value" {"Name":"T-Mobile","Picture":"","DisplayOrder":1,"Published":true,"Deleted":false,"Id":2,"CustomProperties":{},"editMode":false} -----------------------------265001916915724--
Error:
"Message":"An error has occurred.","ExceptionMessage":"Error reading MIME multipart body part.","ExceptionType":"System.IO.IOException","StackTrace":" at System.Net.Http.HttpContentMultipartExtensions.<ReadAsMultipartAsync>d__0`1.MoveNext()\r\n---
Comments: Please Close. The issue was caused by a possible conflict with an out of date nuget package after updating web app to mvc 5.1 and web api 2.1
Accept application/json, text/plain, /
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Content-Length 272
Content-Type multipart/form-data; boundary=---------------------------265001916915724
-----------------------------265001916915724 Content-Disposition: form-data; name="value" {"Name":"T-Mobile","Picture":"","DisplayOrder":1,"Published":true,"Deleted":false,"Id":2,"CustomProperties":{},"editMode":false} -----------------------------265001916915724--
Error:
"Message":"An error has occurred.","ExceptionMessage":"Error reading MIME multipart body part.","ExceptionType":"System.IO.IOException","StackTrace":" at System.Net.Http.HttpContentMultipartExtensions.<ReadAsMultipartAsync>d__0`1.MoveNext()\r\n---
Comments: Please Close. The issue was caused by a possible conflict with an out of date nuget package after updating web app to mvc 5.1 and web api 2.1