Skip to content

Instantly share code, notes, and snippets.

@noteed
Created October 7, 2013 14:07
Show Gist options
  • Save noteed/6868594 to your computer and use it in GitHub Desktop.
Save noteed/6868594 to your computer and use it in GitHub Desktop.
Send something to Sentry.
{
"project": "site",
"event_id": "ac7d8c1c34fc4630ad850ee518f1b9d1",
"culprit": "my.module.my.function",
"timestamp": "2013-09-19T17:41:36",
"message": "SyntaxError: abcd!",
"exception": [{
"type": "SyntaxError",
"value": "efgh",
"module": "__builtins__"
}]
}
curl -i \
-H 'User-Agent: raven-python/1.0' \
-H 'X-Sentry-Auth: Sentry sentry_version=4, sentry_timestamp=1329096377, sentry_key=public, sentry_client=raven-python/1.0, sentry_secret=secret' \
-d @body.txt \
http://public:secret@127.0.0.1:9000/api/site/store/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment