Answers for "could not decode base64 cloudinary"

0

could not decode base64 cloudinary

I had encountered the same issue . Just send the bas64 file as json and not as formData . step 1 : app.use(express.json({ limit: "50mb" })); app.use(express.urlencoded({ limit: "50mb", extended: true }));

step 2 : since you are converting the image on onChange event the file is converted to base64 . so just send that data as json .
Posted by: Guest on October-22-2021

Browse Popular Code Answers by Language