Example of API Gateway configured with Lambda authorizer and API Key
curl --location --request GET 'HTTP_URL'
--header 'Authorization: allow'
--header 'x-api-key: <API_KEY>'
Example of API Gateway configured with Lambda authorizer and API Key
JavaScript