Answers for "image base 64"

-1

converting image to base64 string

router.post('/upload',function(req,res){
var base64ToBuffer = new Buffer(req.image, 'base64');//Convert to base64

//Write your insertcode of MongoDb

res.end("Image uploaded Successfully"); 
});
Posted by: Guest on May-23-2021

Browse Popular Code Answers by Language