Sending Image to external API from Zoho Creator

Sending Image to external API from Zoho Creator

Hi there,

My scenario is:
I upload a photo to a report by using the file upload field in a form.
I have created an action button which calls a function to send that photo to an external API

I am having issues using the invokeUrl function to get the photo I uploaded and send it as a file using Multiform Data within Zoho Creator. Does anyone have an example of sending a photo/file that has been uploaded to Zoho Creator

Thanks