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
Add header { responseType: 'blob'}
{ responseType: 'blob'}
Like this:
this.http.post(apiEndpoint,request,{ responseType: 'blob'} )