title: Access AWS API Gateway from Axios
body: <p>I am attempting to access AWS API Gateway-hosted services from Axios.  Using AWS Amplify, I obtain a token using Auth.currentSession() which delivers a <strong>CognitoIdToken</strong>. Embedded within that object is a jwtToken.  I have attempting to call my protected services (authorizer is set to AWS_IAM) using that jwtToken in the HTTP header, trying both the <strong>Authorization</strong> and <strong>x-api-key</strong> key, both with no joy. Given a CognitoIdToken/jwtToken, how do you call an AWS API Gateway service with an authorizer of AWS_IAM?</p>