Загрузить файл из ответа API
window.open("<insert URL(api call) here>") //call this with a function when button is clicked
Splendid Seahorse
window.open("<insert URL(api call) here>") //call this with a function when button is clicked