Skip to content

Instantly share code, notes, and snippets.

@thigm85
Created February 9, 2016 13:46
Show Gist options
  • Save thigm85/139a15f8446780b6c928 to your computer and use it in GitHub Desktop.
Save thigm85/139a15f8446780b6c928 to your computer and use it in GitHub Desktop.
File uploader using POST method. Reference: http://www.tutorialspoint.com/nodejs/nodejs_express_framework.htm
<html>
<head>
<title>File Uploading Form</title>
</head>
<body>
<h3>File Upload:</h3>
Select a file to upload: <br />
<form action="http://127.0.0.1:8081/file_upload" method="POST"
enctype="multipart/form-data">
<input type="file" name="file" size="50" />
<br />
<input type="submit" value="Upload File" />
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment