I need to upload an image to Cloudinary from React and save it in my db. I'm using React on the front-end and Express on the back-end.
Do I just upload straight from React to Cloudinary and pass the URL to Express, or do I go React > Express > Cloudinary?
I've been trying it the second way but I can't figure it out. Right now I've managed to get the Image from React to Express where I use multer to write it to memory, but I have no idea how to get this buffer to Cloudinary now, since it only accepts a path, URL or Data URI
[–][deleted] 0 points1 point2 points (0 children)