That would be great. I will keep our old code so we can revert back later.
Thanks.
-D
Search found 4 matches
- Tue Jul 19, 2016 10:01 am
- Forum: Nagios XI
- Topic: Can we use JSON with new REST API?
- Replies: 3
- Views: 674
- Tue Jul 19, 2016 8:59 am
- Forum: Nagios XI
- Topic: Can we use JSON with new REST API?
- Replies: 3
- Views: 674
Can we use JSON with new REST API?
Now that we have fixed the REST API with our 5.2.8 setup, I am wondering if we can pass JSON using POST for the object API? We already have code that does this, but simple tests make it seem like it's not happy with this: Using a post to: https://nagiosxi-pgh02.eagleaccess.com/nagiosxi/api/v1/config...
- Tue Jul 19, 2016 6:56 am
- Forum: Nagios XI
- Topic: REST API After upgrade to 5.2.8
- Replies: 4
- Views: 17501
Re: REST API After upgrade to 5.2.8
No change, even after moving it inside the virtualhost block.
Upon closer inspection, there was a duplicate SSL/443 setup in nagiosxi.conf, I moved any unique settings from that into ssl.conf and restarted. Looks good now.
Thanks.
Upon closer inspection, there was a duplicate SSL/443 setup in nagiosxi.conf, I moved any unique settings from that into ssl.conf and restarted. Looks good now.
Thanks.
- Mon Jul 18, 2016 3:44 pm
- Forum: Nagios XI
- Topic: REST API After upgrade to 5.2.8
- Replies: 4
- Views: 17501
REST API After upgrade to 5.2.8
We just upgraded to 5.2.8 and were using the older form of the REST API. We can't get it working in the new version. If we do this: https://nagiosxi-pgh01.eagleaccess.com/nagiosxi/api/v1/system/status?apikey=p2pmjepq We get this: Status Code: 404 Not Found Connection: close Content-Length: 325 Conte...