Created
December 17, 2013 18:34
-
-
Save ingydotnet/8010231 to your computer and use it in GitHub Desktop.
Two different API payloads with same ETag.
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
| $ curl --request GET https://api.github.com/users/diakopter --dump-header head --output out --silent; sha1sum out; grep '"followers"' out; grep -E '^(Status|ETag)' head | |
| 6615b9213c14bab84b07bb114e6bcf9b52155fbb out | |
| "followers": 12, | |
| Status: 200 OK | |
| ETag: "edb4efcefbfe4f1f2d9c86ae2ce739bd" | |
| $ git hub follow diakopter | |
| 'ingydotnet' is now following 'diakopter' | |
| $ curl --request GET https://api.github.com/users/diakopter --dump-header head --output out --silent; sha1sum out; grep '"followers"' out; grep -E '^(Status|ETag)' head | |
| e31059b12b576ad2a1f15c2d7ee731a0eec53935 out | |
| "followers": 13, | |
| Status: 200 OK | |
| ETag: "edb4efcefbfe4f1f2d9c86ae2ce739bd" | |
| $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment