Reputation: 19404
I've got some lambdas behind Amazon's API Gateway, which is configured to restrict access to Cognito authenticated users. All works fine for users coming via a UI.
I'd like to test those APIs separately to the UI, using Postman ideally or failing that perhaps curl.
How can I send a Cognito-authenticated request via Postman, curl or similar, to the API Gateway?
Upvotes: 2
Views: 2612
Reputation: 1091
Try using Insomnia as a Rest client: https://insomnia.rest/
I see it has a tab for AWS auth settings.
Upvotes: 1
Reputation: 514
just have a look at the following post, i think it'd be helpful for you.
How setup header in Postman for Api Gateway authenticated with Cognito?
Upvotes: 0