Multiple Uploads in cloudinary using Node Js and ForEach loop
问题 I have an input tag to upload multiple images and upload them to cloudinary using cloudinary and formidable packages. Ideally, i wanted to pull the URL and save it in my DB where i have all the rest information. But failed to retrieve the URLs shown below in array. Target it to create an object to be saved in the DB with the URLs. app.post("/newcampbook",(req,res)=>{ new formidable.IncomingForm({ multiples: true }).parse(req,(err,fields,file)=>{ if(!err){ var pathArray = []; file.image