Closed yiyungent closed 3 years ago
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>
解决:
Content-Type
不对,应为multipart/form-data
,但当上传文件时不要手动添加,因为需要让 postman 自动计算boundary=<calculated when request is sent>