Skip to content

Commit

Permalink
Updated the pattern URL, corrected a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
parasjain01 committed Jul 7, 2023
1 parent 66bc039 commit 0adf004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cognito-restapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It assumes that the Cognito User Pool already exists and takes the Cognito User

Note: when deploying this pattern, *CAPABILITY_IAM* is required.

Learn more about this pattern at Serverless Land Patterns: [https://serverlessland.com/patterns/cognito-restapi](https://serverlessland.com/patterns/cognito-restapi)
Learn more about this pattern at Serverless Land Patterns: [https://serverlessland.com/patterns/apigw-cognito-authorizer-sam-nodejs](https://serverlessland.com/patterns/apigw-cognito-authorizer-sam-nodejs)

Important: this application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the [AWS Pricing page](https://aws.amazon.com/pricing/) for details. You are responsible for any AWS costs incurred. No warranty is implied in this example.

Expand Down Expand Up @@ -43,7 +43,7 @@ Important: this application uses various AWS services and there are costs associ

## Testing

The stack will output the **api endpoint**. Use *curl* to make an HTTP request to the API Gateway endpoint that includes a Header with the authorization toekn to test the Cognito User Pools Authorizer.
The stack will output the **api endpoint**. Use *curl* to make an HTTP request to the API Gateway endpoint that includes a Header with the authorization token to test the Cognito User Pools Authorizer.

```
curl -i https://{apiId}.execute-api.{region}.amazonaws.com/Prod -H "authorizationToken: {tokenProvidedByCognito}"
Expand Down

0 comments on commit 0adf004

Please sign in to comment.