commit
c6d7d426d1
@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
### User stories:
|
### User stories:
|
||||||
1. I can submit a form that includes a file upload.
|
1. I can submit a form that includes a file upload.
|
||||||
2. The from file input field has the "name" attribute set to "upfile". We rely on this in testing.
|
2. The form file input field has the "name" attribute set to "upfile". We rely on this in testing.
|
||||||
3. When I submit something, I will receive the file name and size in bytes within the JSON response
|
3. When I submit something, I will receive the file name and size in bytes within the JSON response
|
||||||
|
|
||||||
### Usage :
|
### Usage :
|
||||||
* Go to the main page, and upload a file using the provided form.
|
* Go to the main page, and upload a file using the provided form.
|
||||||
|
|
||||||
### Hint:
|
### Hint:
|
||||||
* To handle the file uploading you should use the [multer](https://www.npmjs.com/package/multer) npm package.
|
* To handle the file uploading you should use the [multer](https://www.npmjs.com/package/multer) npm package.
|
||||||
|
Loading…
Reference in New Issue
Block a user