Merge pull request #8 from moT01/fix/update-instructions-to-match-PR-on-learn

fix: update instructions in readme
This commit is contained in:
Tom 2020-10-15 09:41:03 -05:00 committed by GitHub
commit 5f42c6722c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.