Image (file) handling in native apps

1
Hi All, I am working on a Native app where I need to Post an image(file) to a Rest API. The API can receive either url, a file or a base64 encoded image. In a microflow it is ‘easy’ to encode a file to base64, but in a nanoflow (which is my only option since its a native app) I can't seem to figure out how to retrieve the image file or to encode it to base64.  I've written the api call in a javascript action, but I can't find a way to send the image file along. Can anyone help me out here?
asked
1 answers
2

It's not your only option. From a native app you can call a microflow, which can handle the rest transaction from the runtime.

[EDIT] This is just to illustrate how you could handle this in one transaction:

answered