Download files via API

I’ve connected to an API that returns a file download as a response (with the correct headers), however this download isn’t shown to the client end user. For some reason it is saved to the bubble.io file manager instead!

Can anyone please advise on how this file can be directly downloaded by the end user when the API request button is run by the user?

How does the API req workflow look like?

did you figure this out please? I’m having same issue

you can make the api call as an action and call it in your workflow then you can use file downloader plugin to download your file