Sending Byte image to Bubble Data API

Hi, I have been struggling to send image content that is bytes to my Bubble API endpoint.

This topic seems to have the same problem but all the solution content is now dead so doesn’t help.
https://forum.bubble.io/t/uploading-images-from-dropsource-to-bubble/28587/9

The Bubble documentation does say what is needed but when I run base64.b64encode(myimageinbytes) I still get an error saying that the content is not JSON serializable.

Also it would be good to know if you send this to the raw API level, to the object level that you are trying to attach the image to or the object + id level.

Any help would be greatly appreciated.

for the moment I have found a hacky work around, seeing as I am sourcing the image content from a url call I am just passing that URL directly to Bubble. If I was trying to send byte content directly though I am still lost.

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