How to test calls to an Amazon API gateway using Cognito Auth How to test calls to an Amazon API gateway using Cognito Auth curl curl