Signed Download URLs

In this lesson, you will learn how to sign download URLs and configure access to the files after they are uploaded.

Another URL is required #

In the previous chapter, you used the same URL for both the form display function and the form processing function. This was possible because the browser web form workflow used two different HTTP methods. To display the form, it sent a GET request. To upload the submission details, it sent a POST request. Because S3 redirects work as GET method calls, you cannot use the same URL with different methods anymore. The browser will send a POST request directly to S3, which will redirect to another URL. You’ll need a different URL to handle that redirect, so you can create a new API endpoint.

When S3 sends ...