Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Call A Deployed API Endpoint in Amazon API Gateway #4

Open
georgeoffley opened this issue Feb 1, 2023 · 0 comments
Open

How to Call A Deployed API Endpoint in Amazon API Gateway #4

georgeoffley opened this issue Feb 1, 2023 · 0 comments

Comments

@georgeoffley
Copy link
Owner

georgeoffley commented Feb 1, 2023


title: How to Call A Deployed API Endpoint in Amazon API Gateway
subtitle: Snippit used for calling API endpoints
description: Snippit used for calling API endpoints
slug: how-to-call-a-deployed-api-endpoint-in-amazon-api-gateway
tags: [note, aws]
category: dev-blog
image:
date: 2023-02-01
canonical: https://georgeoffley.com/how-to-call-a-deployed-api-endpoint-in-amazon-api-gateway

TL:DR

https://{restapi_id}.execute-api.{region}.amazonaws.com/{stage_name}/

The 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 prod API.

Image of AWS API Gateway with a red arrow pointed at the ID section. This is where the API ID is found.

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 prod, dev, 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.

-George

@georgeoffley georgeoffley changed the title How to Call A Deployed API Endpoint in Amazon API Gateway? How to Call A Deployed API Endpoint in Amazon API Gateway Feb 1, 2023
@georgeoffley georgeoffley changed the title How to Call A Deployed API Endpoint in Amazon API Gateway How to Call A Deployed API Endpoint in Amazon API Gateway? Feb 1, 2023
@georgeoffley georgeoffley changed the title How to Call A Deployed API Endpoint in Amazon API Gateway? How to Call A Deployed API Endpoint in Amazon API Gateway Feb 1, 2023
@georgeoffley georgeoffley removed their assignment Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant