How to Call A Deployed API Endpoint in Amazon API Gateway
restapi_id is the API ID found in API Gateway on the AWS Management Console, pictured below. Remember that each deployment you have will have an API ID set up for it. So your
test API ID won’t be the same as your
I put in the closest
region for me (
us-east-1), but that can be any region.
Then you put in the stage the API is deployed to. So
test, or whatever environments you have set up.
And that’s it. There’s a more extensive conversation about permissions, deployments, etc. I might have that conversation on this blog. Stay tuned.