Created
August 1, 2016 17:04
-
-
Save DBLaw/db90dddeeb48fc6bb9f90df317bde22e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Make sure you replace the API and/or APP key below | |
# with the ones for your account | |
curl -X POST -H "Content-type: application/json" \ | |
-d '{ | |
"title": "Did you hear the news today - test4?", | |
"text": "Oh man!", | |
"priority": "normal", | |
"tags": ["environment:test"], | |
"alert_type": "info" | |
}' \ | |
'https://app.datadoghq.com/api/v1/events?api_key=THE_API_KEY' | |
curl -X POST -H "Content-type: application/json" \ | |
-d '{ | |
"title": "Did you hear the news today -test5?", | |
"text": "Oh girl!", | |
"priority": "normal", | |
"tags": ["environment:test"], | |
"alert_type": "info" | |
}' \ | |
'https://app.datadoghq.com/api/v1/events?api_key=THE_API_KEY' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment