Hey @geoffsharris! Can you try using the getDataByObjectURL
util mentioned here?
You can try running a JavaScript query on capture that does something like:
const dataURL = await utils.getDataByObjectURL(imageInput1.value[0]);
const base64Data = dataURL.split(",")[1];
return base64Data;
And then upload that data using a binary
body type but keeping the same headers:
From there you should be able to run your create media items query.
Let me know if that works!