AnomalyInnovations / aws-api-gateway-cli-test

A simple CLI to test API Gateway endpoints with IAM authorization
MIT License
120 stars 29 forks source link

add option to pass access token in a header #6

Closed jwoptio closed 6 years ago

jwoptio commented 6 years ago

This adds an option 'access-token-header' to allow the user to set a HTTP header on which to pass the access token along with the request. This is required when using a custom authorizer as described here: https://aws.amazon.com/blogs/mobile/integrating-amazon-cognito-user-pools-with-api-gateway/.

jayair commented 6 years ago

Awesome! Thanks.