Well, maybe I can help you, I was doing a project where I wanted to put an image on Instagram, I had to transform the photo into base 64, and put it in a database, then save it and return the image again