Skip to content

Instantly share code, notes, and snippets.

@kingsloi
Last active September 28, 2017 21:14
Show Gist options
  • Save kingsloi/207ddfa3066af82ce9a492da8b835325 to your computer and use it in GitHub Desktop.
Save kingsloi/207ddfa3066af82ce9a492da8b835325 to your computer and use it in GitHub Desktop.
HAYO
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