Reactjs – how do I fix that axios sends jpeg instead of jpg to back end?
SO I'm trying to send an image from the react front end to the node.js back end but when I send a .jpg to the back end and I ask there what tpye it is sais it's a jpeg while…
SO I'm trying to send an image from the react front end to the node.js back end but when I send a .jpg to the back end and I ask there what tpye it is sais it's a jpeg while…
I want to upload multiple images from my reactjs frontend using DropZone. I have configured the backend to upload multiple images but everytime i try to upload images no images get uploaded and i recieve an empty array for the…
while looking for solutions on this topic, i have not been able to find anything directly relating to mongodb, only in relation to multer itself. so, for one of my api routes i wish to have an image upload using…
I am using multer and cloudinary for backend to upload image to mongodb and getting req.file.path error and it seems I'm doing something wrong in the frontend when passing image because if I use POSTMAN, the api works and sign…
I was developing nodejs api to upload file to my AWS s3. I followed some online articles and using the code below. The files (images/word/pdf) get successfully uploaded to s3. However they do not open. Or give error when downloading…
I'm trying to make a upload image feature in my website. I've worked on uploading a single image and it worked how do I change my code to make it upload multiple images at same time code below: Server Side:…
I am using nodeJS, express and mongoose. I am having a schema of form which also uploads multiple pictures. To upload the pictures I am using multer. In multer, I am using multer.fields() to upload the pic with specific own…
I have a problem on my application, it is a social network. The user can create a post with a message and an image, stored in a backend images folder thanks to Multer. I use sequelize and MySql. When I…
Someone help me, I am doing this for the first time and got stuck with this problem when sending POST request i'm getting this error...I think i'm not getting the file req.object was giving name & price but not the…
So I want to upload large CSV files to a mongoDB cloud database using a Node.js server using Express, Mongoose and Multer's GridFS storage engine, but when the file upload starts, my database becomes unable to handle any other API…