API returns wrong status code on failure
Posted: Sat Jun 08, 2019 2:42 am
Hi
The API does not return the correct HTTP Status codes on failure. This returns HTTP 200 even though there is an error
Version: 5.6.2
The API does not return the correct HTTP Status codes on failure. This returns HTTP 200 even though there is an error
Version: 5.6.2
Code: Select all
},
"json": {
"error": "Missing required variables",
"missing": [
"host_name",
"service_description",
"max_check_attempts",
"check_interval",
"retry_interval",
"check_period",
"notification_interval",
"notification_period",
"contacts OR contact_groups"
]
},
"msg": "OK (230 bytes)",