mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
456 B
456 B
Multipart + AWS S3
Upload a file in multipart form to AWS S3 using AWS S3 SDK.
Receive multiple data in multipart form in JSON format and receive it as a struct.
Usage
cd forms/multipart-s3
- copy .env.example .env
- edit .env AWS_ACCESS_KEY_ID=your_key
- edit .env AWS_SECRET_ACCESS_KEY=your_key
- edit .env AWS_S3_BUCKET_NAME=your_chosen_region
cargo run