We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
問題描述
目標:在 PUT /api/users/:id 新增圖片上傳功能 實作:
問題:
期望的行為
Screenshots
備註
目前已知事項:
Note that req.body might not have been fully populated yet. It depends on the order that the client transmits fields and files to the server.
解法:重開 POSTMAN 、重登入拿新 token 、重開一個 tab 打 PUT api
參考資料:
https://stackoverflow.com/questions/33829489/multer-req-file-is-undefined https://stackoverflow.com/questions/35851660/multer-req-file-always-undefined postmanlabs/postman-app-support#2602 https://www.npmjs.com/package/multer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
問題描述
目標:在 PUT /api/users/:id 新增圖片上傳功能
實作:
問題:
期望的行為
Screenshots
備註
目前已知事項:
Note that req.body might not have been fully populated yet. It depends on the order that the client transmits fields and files to the server.
解法:重開 POSTMAN 、重登入拿新 token 、重開一個 tab 打 PUT api
參考資料:
https://stackoverflow.com/questions/33829489/multer-req-file-is-undefined
https://stackoverflow.com/questions/35851660/multer-req-file-always-undefined
postmanlabs/postman-app-support#2602
https://www.npmjs.com/package/multer
The text was updated successfully, but these errors were encountered: