fix: update instructions in readme

This commit is contained in:
moT01 2020-09-10 09:29:02 -05:00
parent 89162a4af2
commit 001b2a9681

View File

@ -3,8 +3,8 @@
[![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-project-filemetadata)](https://repl.it/github/freeCodeCamp/boilerplate-project-filemetadata) [![Run on Repl.it](https://repl.it/badge/github/freeCodeCamp/boilerplate-project-filemetadata)](https://repl.it/github/freeCodeCamp/boilerplate-project-filemetadata)
### 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 form 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`.
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`, `type`, 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.