-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample Check Definition JSON doesn't work #828
Comments
Looks like that's being PUT with a content-type of application/x-www-form-urlencoded. If you change your curl command to send application/json, does it work better? |
Same results. We got it to work with: {
"ID": "mem3",
"Name": "Memory utilization",
"HTTP": "http://localhost:8080/health",
"Interval": "5s",
"Timeout": "1s"
} NOTE: This is without the |
@apoydence The sample format you used is for config files, but it looks like you guys figured out the correct API format. Closing! |
my check worked after I removed |
When we try to register the check using the sample JSON:
We get back the following error:
I presume that the problem lies with casing in the JSON.
The text was updated successfully, but these errors were encountered: