download file from file url express code example
Example: express download file
app.get((req, res, next) => {
res.download('/file/to/be/downloaded.ext');
res.status(200);
});
app.get((req, res, next) => {
res.download('/file/to/be/downloaded.ext');
res.status(200);
});