Upload a PDF using WebAPI (binary)

I’ve read a few posts on this and most posters are either referred to Cloudinary, or in a couple of cases have no answer.

What I’d like to do is set the Body of the API as the (binary) PDF chosen by the user.

In blocks there is no options, and it seems like there is only String and Multipart Form; Web APIs Blocks - Thunkable Docs.

Uploading or using binary data is a fairly expected feature, one that is useful, and allows for manipulating/ sending basically any kind of data.

I even tried setting the PDF reader’s file as the file chosen, then set the body as the PDF reader’s file.

Unless there is something I’m missing, there seems to be no way to send binary data in the body.

Is there another way to do this, or is this just not possible?

Thank you.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.