Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #129

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion sample/06-file-upload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $ yarn run start:prod
$ yarn run test

# e2e tests
$ yarn run test:e2e,
$ yarn run test:e2e

# test coverage
$ yarn run test:cov
Expand All @@ -92,6 +92,23 @@ API POST Request:

The destination and filename fields can be set as per user's choice

## Steps To Upload Multiple Files

Send a POST request in the given route: /files/upload-files

The destination should be passed along with the post request as query parameter.

The files should be added in the request body (as form-data) with field-name(key) as 'files'

The filenames should be added in the request body (as form-data) with field-name(key) as 'filenames'

The files and and the filenames should be passed in form of arrays.

Note: The number of files and filenames must be same and also in the correct order.

API POST Request:
/files/upload-files?destination=uploads


## Steps To Download File

Expand Down
Loading