Browser-Based Uploads Using HTTP POST


Upload a picture to s3:


Amazon S3 supports HTTP POST requests so that users can upload content directly to Amazon S3. By using POST, end users can authenticate requests without having to pass data through a secure intermediary node that protects your credentials. Thus, HTTP POST has the potential to reduce latency.

This demo will let you upload a picture to an S3-bucket. This upload will trigger a Lambda-function that does 2 things:
  1. Create an thumbnail
  2. Save the Thumbnail to another S3-bucket
After a successfull upload you will redirected to the "Redirect-page". On this page you have to choice to upload another picture or to view the results on the Album-page.

What to do:
    • Click the button: Choose File
  1. select a picture from your local computer
  2. - The maximum filesize is 1 Mb
    - The file will be publicly visible after you upload it
  3. Press: Upload
  4. You will be redirected to the page that is defined as a "success_action_redirect" in the form.