Skip to content

Instantly share code, notes, and snippets.

@abernix
Created March 29, 2019 16:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abernix/f54dc8fe70dfde5ac41290c939b95567 to your computer and use it in GitHub Desktop.
Save abernix/f54dc8fe70dfde5ac41290c939b95567 to your computer and use it in GitHub Desktop.
# Hitting this basic `apollo-server` on Glitch with ~bytes.
# https://glitch.com/edit/#!/pyrite-advantage
curl 'https://pyrite-advantage.glitch.me/' \
-H 'Content-type: application/json' \
-H "Authorization: $(head -c 4333 < /dev/zero | tr '\0' '\052')" \
--data '{"query":"{ hmm }"}'
# Yields
{"data":{"hmm":"🤔"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment