Created
October 27, 2019 18:50
-
-
Save gspncr/1515c49cb0350e7ceca1c090df42b1c0 to your computer and use it in GitHub Desktop.
New Relic Partner Enablement to cURL
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
POST /synthetics/api/v3/monitors HTTP/1.1 | |
Host: synthetics.newrelic.com | |
X-Api-Key: {{apiKey}} | |
Content-Type: application/json | |
{ | |
"name": "Gary Homepage", | |
"type": "SIMPLE", | |
"frequency": 30, | |
"uri": "https://my-lab-4-hostname.com:8080/wordpress/", | |
"locations": ["AWS_US_WEST_1","AWS_EU_WEST_2"], | |
"status": "ENABLED", | |
"slaThreshold": "1.0", | |
"options": { | |
"validationString": "New Relic", | |
"verifySSL": false, | |
"treatRedirectAsFailure": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment