Requesting files using API from another Wappler project

When I need to work with files (display/download) in security mode, I use this method:

The method works well and allows you to display/download files only to those users who have access to them.

However, I needed to access the files using the API from another project (so that I could display/download them on another project). In this scenario, the method does not work.

I am receiving an answer not in the form of a binary file, but in the form of a string:

The reason for this behavior is listed here:

@patrick, is there a simple solution to get around this in the Wappler?

If anyone has any ideas on how to implement this, I would be grateful. :beers:

Community Page
Last updated: