Problem posting JSON request to index of mounted tree. Cherrypy assumes GET when it's a POST and drops JSON data
I'm currently have all my cherrypy pages in the huge class (called RootServer()) and am now trying to split this class by moving pages into their own classes. Pages in the class are called with JSON inport via POST requests.
I after splitting, I need to call the page with a slash at the end, which breaks existing uses by third parties.
For the following example I need to call http://localhost/status/ to get a result while http://localhost/status gives me AttributeError: 'Request' object has no attribute 'json' (more details at the end of this post)