Problems Downloading Zip Files
Posted: Sat Apr 10, 2021 1:17 am
Has anyone had any issues downloading zip files using the normal node.js request packages (node-fetch, axios etc.) ?
I have a node script that has a part to download a zip file. It works in local env and independent of the switch ecosystem but when I move it into a script file the download is always corrupt. I dont have the same problem with .pdfs that come from the same endpoint though.
I have a node script that has a part to download a zip file. It works in local env and independent of the switch ecosystem but when I move it into a script file the download is always corrupt. I dont have the same problem with .pdfs that come from the same endpoint though.