Built and Deployed with Defang
Python & Flask & AWS S3
This sample requires an API key to access AWS S3. The name of the config values is referenced in the compose.yaml file. To provide a value for it, you can use the Defang CLI like this:
defang config set --name AWS_ACCESS_KEY
defang config set --name AWS_SECRET_KEY
and then enter the value when prompted.
curl -X POST -H 'Content-Type: application/json' -d '{ "first_name" : "jane", "last_name" : "doe" }' https://xxxxxx/upload curl https://xxxxxx/download
Title: Python & Flask & AWS S3
Short Description: An app that demonstrates how to upload and download files from AWS S3 using Python and Flask.
Tags: Python, Flask, AWS S3
Languages: python