Webhook to AWS apigateway authorization header for api-key?
I can curl my aws endpoint with curl -k -H 'x-api-key: QxxxxxxW' -v https:/xxxx.execute-api.us-west-2.amazonaws.com/LATEST/request/, but keep getting 403 when I try and setup a webhook to url https:/xxxx.execute-api.us-west-2.amazonaws.com/LATEST/request/ I have tried the following: What is the proper format for the authorization header to pass in an api key?
Token x-api-key=xxx
Authorization x-api-key=xxx
Authorization=xxx
Authorization xxx
Basic xx
Basic=xx
Basic x-api-key=xxx
Token x-api-key=xx
Token token=xxx
Authorization: Basic xxx
Authorization: x-api-key xxx
-
Hi Will,
Are you using "AWS Lambda" webhook to call the API Gateway ? If not, you can use it to call the API gateway.
More info on configuration https://help.sumologic.com/Manage/Connections_and_Integrations/Webhook_Connections/Webhook_Connection_for_AWS_Lambda
Let me know if it works for you.
Ankit
Please sign in to leave a comment.
Comments
1 comment