WebAPI upload error. Expected end of MIME multipart stream. MIME multipart message is not complete

前端 未结 1 794
清酒与你
清酒与你 2020-12-20 18:36

I\'ve been following this tutorial to support file uploading as part of MVC4\'s WebAPI: http://blogs.msdn.com/b/henrikn/archive/2012/03/01/file-upload-and-asp-net-web-api.as

相关标签:
1条回答
  • 2020-12-20 19:04

    Can you try adding the "name" attribute to your input file?

    <input name="file1" id="file1" type="file" multiple="multiple" />
    
    0 讨论(0)
提交回复
热议问题