Problem while Uploading File in Mongo via Multer, NodeJS
- Yogesh Kumar
- 02-May-2022
- 0
ou append only the file name to your form:
fd.append("articleImage", file.name);
but you must append the entire file object:
fd.append("articleImage", file);
188 0
7
* Be the first to Make Comment