LoginSignup
14
16

More than 5 years have passed since last update.

curlでs3に直接imageをアップロードする方法

Last updated at Posted at 2014-02-17
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はカレントディレクトリにあるファイル

14
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
16