Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 449 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 449 Bytes

s3-upload

Test exercise with Amazon S3 chunked file upload/download

To run this example you should provide your Amazon AWS credentials You can fill them in application.conf file or export as environment variables:

  • ACCESS_KEY_ID
  • SECRET_ACCESS_KEY
sbt run

to launch server.

Two routes are defined:

  • GET /file/ID - download file with given ID from amazon s3 bucket
  • POST /file/ID - upload file with given ID to amazon s3 bucket