yiyungent opened this issue 3 years ago · 0 comments
org.springframework.web.multipart.MultipartException: Current request is not a multipart request
解决: Content-Type 不对,应为 multipart/form-data,但当上传文件时不要手动添加,因为需要让 postman 自动计算 boundary=<calculated when request is sent>
Content-Type
multipart/form-data
boundary=<calculated when request is sent>