How can I pass a ZIP file download from a backend Python app to a frontend React app?
I am currently designing a web app and part of it is supposed to download a ZIP file from an external API and pass it onto the end user. I’ve reviewed a ton of code surrounding how to download the ZIP file directly from the API and how to initiate a download of a file that exists locally on the server hosting the web app, but what we’d really like to achieve is for the end user to press “download” and the ZIP file from the API downloads directly onto the end user’s machine without first downloading it to the server.