Hi,
I am sending a request to api of my service. The endpoint is returning a file response. How do i handle it to allow user to download it from retool after pressing the button?
Hey @dev_tools! Would using a button + event handler on the button to “export data” work for you?
You can export your {{ query1.data }} into a specified format. You may need to add a couple extra causes at the end of your data in case your API is returning nested data, e.g. {{ query1.data.file }}
Let me know if you have any questions!