Last active
September 28, 2017 21:14
-
-
Save kingsloi/207ddfa3066af82ce9a492da8b835325 to your computer and use it in GitHub Desktop.
HAYO
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
curl -X GET \ | |
https://heyareyou.online/api/kingsley.raspe \ | |
-H 'cache-control: no-cache' | |
# Response: | |
# {"status":"online","lastReceived":1505584946,"expiryDate":1505585245} | |
curl -X POST \ | |
https://heyareyou.online/api/heartbeat \ | |
-H 'authorization: Bearer <token>' | |
# Response: | |
# {"expiryDate":"1506633458"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment