Skip to content

Instantly share code, notes, and snippets.

@nuria
Created March 3, 2020 19:43
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 nuria/48f267c46b8df374ac5f6efe055da4e0 to your computer and use it in GitHub Desktop.
Save nuria/48f267c46b8df374ac5f6efe055da4e0 to your computer and use it in GitHub Desktop.
post-error-logging
curl -v -H 'Content-Type: text/plain' -d'{"$schema": "/mediawiki/client/error/1.0.0", "meta": {"stream": "mediawiki.client.error"}, "message": "test event", "type": "TEST", "url": "http://otto-test.org", "user_agent": "otto test"}' 'https://intake-logging.wikimedia.org/v1/events?hasty=true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment