Unduh file dari respons API

window.open("<insert URL(api call) here>") //call this with a function when button is clicked
Splendid Seahorse