Hii amir actually I was facing one issue is that onClick of download I passing documentID through get api call so how to download that file in zip format can you please help?
Hi @Deadmax, I still can not fully understand what you got when you call the api by passing the documentID? If it returns link to the file you can just mimic the tag click to download it or if its a proper file you can create blob out of it and then download. So not sure what you exactly get from server? Thanks
@@CodeWithAamir see I m passing the the document id to api to check whether file is ready to download like if document id has value then file is downloadable so in body response I m getting download file highlighted with blue when I m clicking on that my file gets downloaded in zip so this I want to on my download I'm UI so could please help me with snippet 🙏it will be helpful
If I understood correctly you have the link of the file that to be downloaded something like www.example.com/linkForFile and when you click on this link then file gets downloaded Right?