Hi everyone!
I'm stuck trying to save binary file returned by an api call.
The api call returns a binary file optimized, when i run the fetch schema in the screen the source returned shows only the code, that's not the problem, the problem is that i'm not able to save that returned data in the folder
Can someone help with this? thanks in advance!
Apple
March 21, 2025, 1:51am
2
Unfortunately, Wappler doesn't have proper support for binary files, here's a feature request I created sometime in the past:
It’s not the first time someone creates a topic asking for helping dealing with server-side API Actions whose return data is a binary file instead of text. In the past , people dealing with Photoroom API
[Screenshot]
I propose the creation of a new Binary data type, and support for the following modules:
Respose: ability to return binary data as response (e.g.: PDF file)
Base64 encode: ability to encode binary data to a Base64 string
Base64 decode: ability to decode a Base64 string into bina…
Someone made an extension that might be useful:
Yo,
Wappler provides a default API Action module in Server Action to call APIs. But it does not have the option to upload files. With this custom module, we extend Wappler to have this option as well. We have provided as many options we could from the original component here. This module is available for both PHP & NodeJS server models.
[image]
Almost all options are explained using help texts. Please make sure to read them.
Here is the full source and documentation:
NodeJS: https://gitlab…
If you're unable to get past this problem, I'd possibly look into using n8n
1 Like