rs / curlie

The power of curl, the ease of use of httpie.
https://curlie.io
MIT License
2.84k stars 95 forks source link

curl option --aws-sigv4 values get interpreted as headers #52

Closed terlar closed 2 years ago

terlar commented 2 years ago

When I am using the newer curl option aws-sigv4, curlie interprets it as headers:

curlie https://REDACTED.execute-api.eu-west-1.amazonaws.com/REDACTED --curl --aws-sigv4 "aws:amz:eu-west-1" --user "$(aws configure get aws_access_key_id):$(aws configure get aws_secret_access_key)"

curl --aws-sigv4 --user REDACTED:REDACTED -H aws:amz:eu-west-1 https://REDACTED.execute-api.eu-west-1.amazonaws.com/REDACTED -s -S -v -H "Accept: application/json, */*"
terlar commented 2 years ago

Thank you for the quick fix!