How to return CSV from an endpoint

Hi there,

I’m trying to send a user a link, which they can click to be redirected to a GET endpoint where a CSV will be automatically downloaded.

I’ve managed to use the 1T - CSV plug-in to save the CSV file in Bubble’s File Manager, but I can’t see how I would return this from an endpoint.

Thanks!