Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 637 Bytes

README.md

File metadata and controls

28 lines (25 loc) · 637 Bytes

Node Express File Upload

A simple file uploader using express-fileupload.

Routes

POST /upload

  • Handles a file upload form
  • Example html:
<html>
  <body>
    <form ref='uploadForm' 
      id='uploadForm' 
      action='http://localhost:7000/upload' 
      method='post' 
      encType="multipart/form-data">
        <input type="file" name="csvFile" />
        <input type='submit' value='Upload!' />
    </form>     
  </body>
</html>

References

Express File Upload

Serving static files in Express