WebApi接受请求ReadAsMultipartAsync报错:Error reading MIME multipart body part
WebApi接受请求ReadAsMultipartAsync报错:Error reading MIME multipart body part
WebApi服务端调用Request.Content.ReadAsMultipartAsync方法报错:
Error reading MIME multipart body part
解决方案:
WebApi服务端调用Request.Content.ReadAsMultipartAsync方法报错:
Error reading MIME multipart body part
解决方案:
web.config:
<system.web>
<!--允许请求长度,设置未1GB内容-->
<httpRuntime targetFramework="4.5.1" maxRequestLength="1073741824" />
</system.web>
//来源:C/S框架网(www.csframework.com) QQ:23404761
<system.web>
<!--允许请求长度,设置未1GB内容-->
<httpRuntime targetFramework="4.5.1" maxRequestLength="1073741824" />
</system.web>
//来源:C/S框架网(www.csframework.com) QQ:23404761
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网