Deepl - API config for expecting file instead of JSON?

Hi all,

I’m struggling with the last step in connecting the DeepL (an AI translation services) API to my app.

The API is very simple:

  1. upload a file
  2. collect a key/id
  3. check if ready
  4. download based on the key/id

Problem: i have no idea how to actually save the file in Bubble.
Here is the API documentation:

I noticed the response is MIME octet stream (so pushing out a blob), however I have no idea how to configure Bubble API connector to expect a file instead of JSON…

Probably just a very easy setting I’m overlooking.

Thanks!!

Just figured it out myself (at EUR 1.00 per try that was an expensive learning path lol) but the solution is to set the data type to file instead of JSON (which from a UX perspective was a bit of putting combined with the post request)