In AWS API Gateway - how to set stage variables for test-invoke stage?

When I call my API from the AWS Console, I notice that the stage name is "test-invoke-stage".

I set some stage variables so that my mapping goes to my lambda function, but these values ​​are empty. When I try to configure the test-invoke step so that I can set the variables for this tester, it says that I cannot name the scene name with - in it.

So, how can I use a test call and pass stage variables?

+7
amazon-web-services aws-api-gateway
source share
1 answer

At this time 12/2015 - it is not available - the question was answered at a webinar with Amazon. They said this was a feature on their roadmap. When I see this, I will update this question / answer.

Update - Now available to add values ​​for stageVariables when testing in the web console. (2016-01-14)

+1
source share

All Articles