Categories
How to properly handle Node.JS and Express file upload?
It is only necessary to read the contents of the file uploaded by the user. How to do it right and how best to do it?
Answer the question
In order to leave comments, you need to log in
what about files?
you need to use middleware like this: https://www.npmjs.org/package/multiparty and then read the uploaded file and do whatever you want with it.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question