curl \
-F "key=<path_name>" \
-F "acl=public-read" \
-F "Policy=<policy>" \
-F "Signature=<signature>" \
-F "AWSAccessKeyId=<id>" \
-F "Content-Type=image/png" \
-F "file=@image.png" \
https://xxx.s3.amazonaws.com
@image.pngはカレントディレクトリにあるファイル
More than 5 years have passed since last update.
curl \
-F "key=<path_name>" \
-F "acl=public-read" \
-F "Policy=<policy>" \
-F "Signature=<signature>" \
-F "AWSAccessKeyId=<id>" \
-F "Content-Type=image/png" \
-F "file=@image.png" \
https://xxx.s3.amazonaws.com
@image.pngはカレントディレクトリにあるファイル
Register as a new user and use Qiita more conveniently