okigan / awscurl

curl-like access to AWS resources with AWS Signature Version 4 request signing.
MIT License
737 stars 91 forks source link

Do you have an example of a POST or a PUT command #66

Closed matthewwen closed 4 years ago

matthewwen commented 4 years ago

If you are uploading data to S3, how would I do that? This right here is my guess for just making a txt file that has Hello There, but it is not working.

awscurl -X 'POST' -d "Hello There" --service $SERVICE --region $REGION --access_key $ACCESS_KEY --secret_key $SECRET_KEY $URL