Created
March 12, 2020 01:33
-
-
Save youngsoul/ef6dd7ba5d23ddabb605774942199dc3 to your computer and use it in GitHub Desktop.
Output from a Cognito secured API Gateway endpoint passing in a valid token.
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 | |
| token: eyJraLVmJHQ2JXVjIwdzFxcXNOUHlqb0ZoYXUxTWZTK2k0PSIsThisTokenIsNotValidButItWasWhenWeTested | |
| {"note":"Bring home milk"} | |
| ### | |
| POST https://XXX.execute-api.us-east-1.amazonaws.com/test/add-note | |
| HTTP/1.1 200 OK | |
| Date: Thu, 12 Mar 2020 01:31:33 GMT | |
| Content-Type: application/json | |
| Content-Length: 56 | |
| Connection: keep-alive | |
| x-amzn-RequestId: 0b2705e6-77e5-4dd9-af96-90a852be994a | |
| x-amz-apigw-id: JQOWVGGhIAMFdhA= | |
| X-Amzn-Trace-Id: Root=1-5e6990f5-d287ad64de49727366786be2;Sampled=0 | |
| "Add Note for email: ernest.t.bass@contbay.com. Success" | |
| Response code: 200 (OK); Time: 6359ms; Content length: 56 bytes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment