Last active
April 24, 2018 12:10
-
-
Save adhorn/a2a882d6e0dc937a515a79503e8a5b4f to your computer and use it in GitHub Desktop.
This file contains 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
(I am using the httpie https://httpie.org/ commandline tool) | |
http https://<YOUR API>.execute-api.eu-central-1.amazonaws.com/dev/get/foobar ✔ 14:49:30 | |
HTTP/1.1 200 OK | |
Connection: keep-alive | |
Content-Length: 112 | |
Content-Type: application/json | |
Date: Tue, 24 Apr 2018 12:01:50 GMT | |
X-Amzn-Trace-Id: sampled=0;root=1-5adf1cae-c2edf25c6a7545c3e172478f | |
x-amz-apigw-id: F2FrSHB0liAFo4Q= | |
x-amzn-RequestId: 4593c76a-47b7-11e8-b0e8-5fd0932cdb3b | |
{ | |
"item_id": { | |
"aws:rep:updateregion": "eu-west-1", | |
"aws:rep:updatetime": 1524554197.854001, | |
"item_id": "foobar" | |
} | |
} | |
------ | |
http https://<YOUR API>.execute-api.eu-west-1.amazonaws.com/dev/get/foobar ✔ 15:05:39 | |
HTTP/1.1 200 OK | |
Connection: keep-alive | |
Content-Length: 112 | |
Content-Type: application/json | |
Date: Tue, 24 Apr 2018 12:09:30 GMT | |
X-Amzn-Trace-Id: sampled=0;root=1-5adf1e7a-035265f5e3bd3f296ae13714 | |
x-amz-apigw-id: F2GzLFt4DoEFfaQ= | |
x-amzn-RequestId: 57cf0669-47b8-11e8-b891-814bb60d84cb | |
{ | |
"item_id": { | |
"aws:rep:updateregion": "eu-west-1", | |
"aws:rep:updatetime": 1524554197.854001, | |
"item_id": "foobar" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment