How to image from base64 to file and POST it

Hey everyone! Maybe you can help me with a question. I’m using the Image Resizer plugin (Image Resizer Plugin | Bubble).

After uploading an image in the workflow, there’s an action to resize the image using the plugin. It outputs the image in base64. Now I need to send this image via API as a file. And that’s where I’m running into problems.

I tried this
image
got this error
image

If I use this
image
I got this error

I don’t understand how to send the actual image. With other APIs where the request includes a link, there are no issues and everything works fine. But here, I’m stuck.

Can you help me out?

UPD: Maybe it’s possible to resize the image without the plugin? For example, using Imgix. I have a limit of no more than 2048 px on any side for sending images. So, I have to resize the image. Everything worked fine without the plugin. But clients are too lazy to upload the right-sized image themselves

This topic was automatically closed after 70 days. New replies are no longer allowed.