尤其是在使用Postman进行文件上传测试时,请确保
标题中:
The Content-type field has been set as multipart/form-data in Headers.
在体内:
form-data option should be remain as default.
Choose File option instead of text from dropdown at the right side.
Type File in text box where placeholder is key.
希望这会有所帮助!
紧随屏幕下方: