I\'ve an API which returns an excel document as response. The request will be one simple json.
I\'ve searched google and found some code base to download the file and I
To download the file use the below code
downloadFile(data: Response) { const blob = new Blob([data], { type: 'application/octet-stream' }); fs.saveAs(blob, fileName + '.xlsx'); }