Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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 .
Comment

PREVIOUS NEXT
Code Example
Javascript :: regex check for anchor tag with specific text 
Javascript :: Return an html element with react 
Javascript :: web scrape example js 
Javascript :: importing sha256 hashing algorithm 
Javascript :: one signal api to send notification 
Javascript :: close jquery 
Javascript :: javascript xpath 
Javascript :: cheapest node js hosting 
Javascript :: javascript substration between times 
Javascript :: delete method 
Javascript :: array map order by timestamp reactjs 
Javascript :: react double render 
Javascript :: create owl component react js 
Javascript :: how to get the current username with wscript 
Javascript :: Discord.client on 
Javascript :: boolean javascript 
Javascript :: Get Parameters Of URL As A String 
Javascript :: javscript loop array 
Javascript :: merge two binary tree 
Javascript :: hide screen links in drawerNavigation in react native 
Javascript :: materal ui react range slider 
Javascript :: form- text area react 
Javascript :: node express mongo boilerplate with jwt 
Javascript :: nodejs mysql transactions 
Javascript :: No match found for location with path 
Javascript :: capitalize text js 
Javascript :: linear search javascript 
Javascript :: javascript strings are immutable 
Javascript :: react hook will mount 
Javascript :: react navigation params 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =