WebAPI - upload binary data

I’m trying to take a photo, taken in my Thunkable app and stored locallly, and upload it to my Resourcespace asset management server via WebAPI. So far, I’ve managed to create a correct API call and get an HTTP error 415 reply from Resourcespace. This indicates an ‘Unsupported Media Type’ error.
Resourcespace expects the file to be delivered via a POST request, as binary data.
What I’m able to supply right now is just the local file path to the photo.

I can’t find anything on that in the Thunkable docs, and the last time someone asked a similar quesiton in September 2023, they didn’t get any answer.

Can anyone tell me if Thunkable supports uploading binary data in an API POST request?

Hi @Machinimush, I’m not sure about binary specifically being something you could with Thunkable without using some other API to convert the image. But we have had many users encode images using Base64, which is a way of encoding binary data. Check this post out below and let us know if this helps!