I am trying to use an external api that sends an image file to a url but I hve no idea how I can refernce a file from construct to the javascript function.
The js function has something like this:
var input = document.getElementById('file_in');
const file = input.files[0];
var fr = new FileReader();
..and then goes on to perform an api call with this data.
However, I have no idea how to pass a (binary?) file into this js script from the event sheet. Seems I can only pass in strings and numbers(?)
..or If its even possible at all.
Any pointers greatly appreciated.