You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Examples/quoteapi/README.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,7 @@ The **sam deploy** command creates the Lambda function and API Gateway in your A
28
28
sam deploy --guided
29
29
```
30
30
31
-
Accept the default response to every prompt, except the following warning:
32
-
33
-
```bash
34
-
QuoteService may not have authorization defined, Is this okay? [y/N]: y
35
-
```
36
-
37
-
The project creates a publicly accessible API endpoint. This is a warning to inform you the API does not have authorization. If you are interested in adding authorization to the API, please refer to the [SAM Documentation](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-httpapi.html).
31
+
The project creates an API endpoint protected by a bearer token authorization. Use token value '123' while testing. Youc an change the token validation logic in the `LambdaAuthorizer` function. To learn more about Lambda authorizer function, refer to [the API Gateway documentation](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html).
38
32
39
33
## Use the API
40
34
@@ -54,7 +48,7 @@ Use cURL or a tool such as [Postman](https://www.postman.com/) to interact with
0 commit comments