Skip to content

Instantly share code, notes, and snippets.

@lettergram
Last active August 8, 2019 02:40
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 lettergram/04ad8f277dd282ddd9c5951834abc557 to your computer and use it in GitHub Desktop.
Save lettergram/04ad8f277dd282ddd9c5951834abc557 to your computer and use it in GitHub Desktop.
curl https://ingestion-server.com/comments \
-H "Content-type: application/json" \
-H "X-Auth-Token: token" \
-d '{ "author": "lettergram", \
"source": "Hacker News", \
"comment_text": "This is a stupid, irrelevant example", \
"comment_link": "http://example.com" }'\
-X POST -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment