I've to just hit this api and file will be downloaded for the client. Somehow this doesn't work
let res=await axios.get(urlDownload,{params},{responseType: 'blob'})
or
let res=await axios.get(urlDownload,{params})
Edit:
- api doesn't get hit with this, however on running the generated url in browser, file gets dowloaded (with following message)