send to client side with ExpressJS?
You can just serve it as a static asset with express.use(static, path.join('path/to/assets/folder'))
I am using express multer middleware for storing images. With that you have to create a multipart/form-data using FormData and append the image to the object (in the client side), then storing it using the multer and accepting the files (in the server side). To download them I am using the express res.download method
Обсуждают сегодня