Answers for "express download file"

0

express download file

app.get((req, res, next) => {
  res.download('/file/to/be/downloaded.ext');
  res.status(200);
});
Posted by: Guest on August-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language