Skip to content

Commit 9c2aae8

Browse files
committed
be consistent in URL usage
1 parent ab9b73b commit 9c2aae8

File tree

1 file changed

+3
-3
lines changed
  • Examples/APIGateway+LambdaAuthorizer

1 file changed

+3
-3
lines changed

Examples/APIGateway+LambdaAuthorizer/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ To invoke the Lambda function, use this `curl` command line. Be sure to replace
6363
When invoking the Lambda function without `Authorization` header, the response is a `401 Unauthorized` error.
6464

6565
```bash
66-
curl -v https://6sm6270j21.execute-api.us-east-1.amazonaws.com/demo
66+
curl -v https://a5q74es3k2.execute-api.us-east-1.amazonaws.com/demo
6767
...
6868
> GET /demo HTTP/2
6969
> Host: 6sm6270j21.execute-api.us-east-1.amazonaws.com
@@ -84,7 +84,7 @@ curl -v https://6sm6270j21.execute-api.us-east-1.amazonaws.com/demo
8484
When invoking the Lambda function with the `Authorization` header, the response is a `200 OK` status code. Note that the Lambda Authorizer function is configured to accept any value in the `Authorization` header.
8585

8686
```bash
87-
curl -v -H 'Authorization: 123' https://6sm6270j21.execute-api.us-east-1.amazonaws.com/demo
87+
curl -v -H 'Authorization: 123' https://a5q74es3k2.execute-api.us-east-1.amazonaws.com/demo
8888
...
8989
> GET /demo HTTP/2
9090
> Host: 6sm6270j21.execute-api.us-east-1.amazonaws.com
@@ -108,5 +108,5 @@ curl -v -H 'Authorization: 123' https://6sm6270j21.execute-api.us-east-1.amazona
108108
When done testing, you can delete the infrastructure with this command.
109109

110110
```bash
111-
sam delete
111+
sam delete --stack-name APIGatewayWithLambdaAuthorizer
112112
```

0 commit comments

Comments
 (0)