Category: How do I do X?

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Download as PDF-File (Data from external API CALL)


I need to download and save a PDF file from an external API call, but I can't find a widget that provides a download function. The API call returns a PDF file and includes the necessary headers. However, I finally found the solution by using the Button Widget's onSuccess option to download the data returned by the API call.


The issue was that the user needed to download a PDF file from an external API call and was unable to find a widget in the platform that provided a "Download File" functionality. However, the solution was eventually found by using the Button Widget, where under onSuccess, the user could select Download and set Data to Download as the result of the API call. This would enable the PDF file to be downloaded from the external API and stored in the browser. No code examples were given.