From c9c97830423b3857483c2bd411bf927a9895c980 Mon Sep 17 00:00:00 2001 From: Ben Simon Hartung <42031100+bentsku@users.noreply.github.com> Date: Wed, 18 Dec 2024 22:34:35 +0100 Subject: [PATCH] update APIGW URL contruction to use stageName (#1604) --- .../tutorials/cloud-pods-collaborative-debugging/index.md | 2 +- content/en/user-guide/aws/apigateway/index.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/tutorials/cloud-pods-collaborative-debugging/index.md b/content/en/tutorials/cloud-pods-collaborative-debugging/index.md index 75ea166835..0f9cdf7501 100644 --- a/content/en/tutorials/cloud-pods-collaborative-debugging/index.md +++ b/content/en/tutorials/cloud-pods-collaborative-debugging/index.md @@ -149,7 +149,7 @@ $ export rest_api_id=$(cd terraform; tflocal output --raw rest_api_id) The endpoint for the API Gateway is constructed similarly to the one on AWS: **` -https://.execute-api.localhost.localstack.cloud:4566// +https://.execute-api.localhost.localstack.cloud:4566// `** So adding two products to the database is straightforward using `curl`: diff --git a/content/en/user-guide/aws/apigateway/index.md b/content/en/user-guide/aws/apigateway/index.md index 465e848591..268e573484 100644 --- a/content/en/user-guide/aws/apigateway/index.md +++ b/content/en/user-guide/aws/apigateway/index.md @@ -288,7 +288,7 @@ There are two alternative URL formats to access these endpoints. The recommended URL format for accessing APIs is to use the following URL syntax with an `execute-api` hostname: ```shell -http://.execute-api.localhost.localstack.cloud:4566// +http://.execute-api.localhost.localstack.cloud:4566// ``` Here's an example of how you would access the HTTP/REST API with an ID of `0v1p6q6`: @@ -310,7 +310,7 @@ http://0v1p6q6.execute-api.localhost.localstack.cloud:4566/my/path1 The alternative URL format is an endpoint with the predefined base path `/_aws/execute-api`: ```shell -http://localhost:4566/_aws/execute-api/// +http://localhost:4566/_aws/execute-api/// ``` For the example above, the URL would be: @@ -326,7 +326,7 @@ This format is sometimes used in case of local DNS issues. If you are using LocalStack 4.0, the following `_user_request_` format is deprecated, and you should use the format above. ```shell -http://localhost:4566/restapis///_user_request_/ +http://localhost:4566/restapis///_user_request_/ ``` {{< / callout >}}