Created
March 12, 2020 01:30
-
-
Save youngsoul/8dfb3c2032d3f6d583329fd58b545eab to your computer and use it in GitHub Desktop.
output from a Cognito User Pool Secured API Gateway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST https://XXX.execute-api.us-east-1.amazonaws.com/test/add-note | |
| Content-Type: application/json | |
| {"note":"Bring home milk"} | |
| ### | |
| POST https://XXX.execute-api.us-east-1.amazonaws.com/test/add-note | |
| HTTP/1.1 401 Unauthorized | |
| Date: Thu, 12 Mar 2020 01:28:44 GMT | |
| Content-Type: application/json | |
| Content-Length: 26 | |
| Connection: keep-alive | |
| x-amzn-RequestId: 076122e8-4d96-46d7-8e31-e1d40e7dbd70 | |
| x-amzn-ErrorType: UnauthorizedException | |
| x-amz-apigw-id: JQN7-H_AIAMF3Vg= | |
| { | |
| "message": "Unauthorized" | |
| } | |
| Response code: 401 (Unauthorized); Time: 20598ms; Content length: 26 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment