(09-21-2013, 07:12 PM)xoft Wrote: But it's not possible for a webadmin request to return *only* JSON, it will always return the template page with some contents in it. Unfortunately, the graphs can only be updated by pure JSON. Maybe it could be hacked somehow, but it's beyond my crude web skills.A request can return *only* JSON if you want it to.
Instead of doing a request to http://localhost:8080/webadmin/ do one to http://localhost:8080/~webadmin/ . With the ~ in front of webadmin the template will not be used.
I'm not sure if ~ is the best way to do it, but it works at least