I want to use an API to generate csv files that are downloaded when I click on a web link. I have the code which generates the link as a string, and I am now searching a way to make a code that goes automatically to the link to download the csv file instead of me clicking on the link ?