When I click a button on the html page, I want to trigger a query in backend database, creating a csv file specific to the request and then download it.