接口报错:
{
"timestamp": "2020-07-14 16:35:00",
"status": 500,
"error": "Internal Server Error",
"exception": "org.springframework.security.jwt.codec.InvalidBase64CharacterException",
"message": "Bad Base64 input character decimal 91 in array position 0",
"path": "/detection/api/assets/upload/analysis"
}
接口报错:
{
"status": 500,
"message": "Could not parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadException: the request was rejected because no multipart boundary was found"
}
接口报错:
{
"status": 500,
"message": "Required request part 'file' is not present"
}
原因分析:
请求格式如下:
发现使用postman请求头不对
修改后结果: