Skip to content

Commit 1adef7b

Browse files
authored
Merge pull request #2790 from kakakakakku/apigw-sqs-terraform
apigw-sqs-terraform: Fix service name correctly
2 parents e7d6d39 + ef5db00 commit 1adef7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apigw-sqs-terraform/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# AWS API Gateway HTTP APIs to Amazon SQS for buffering
1+
# Amazon API Gateway REST APIs to Amazon SQS for buffering
22

33
In this pattern, called "Queue based leveling", a serverless queue is introduced between your API Gateway and your workers, which can be a Lambda function for example.
44

@@ -58,9 +58,9 @@ The API Gateway handles incoming requests, but instead of invoking for example a
5858
5959
## Testing
6060
61-
1. Run the following command to send an HTTP `POST` request to the HTTP APIs endpoint. Note, you must edit the {MyHttpAPI} placeholder with the URL of the deployed HTTP APIs endpoint. This is provided in the terraform outputs. You can also find the same command automatically generated in the terraform output.
61+
1. Run the following command to send an HTTP `POST` request to the Rest APIs endpoint. Note, you must edit the {MyRestAPI} placeholder with the URL of the deployed Rest APIs endpoint. This is provided in the terraform outputs. You can also find the same command automatically generated in the terraform output.
6262
```bash
63-
curl --location --request POST '{MyHttpAPI}/submit'
63+
curl --location --request POST '{MyRestAPI}/submit'
6464
> --header 'Content-Type: application/json' \
6565
> --data-raw '{ "isMessageReceived": "Yes" }'
6666
```

0 commit comments

Comments
 (0)