def post(self): model = get_model() client = get_client(model) ret = do_post_cmd(model, self.json_args["cmd"], client) self.write(json_encode(ret))
def post(self): model = get_model() client = get_client(model) ret = do_get_cmd(model, self.json_args["cmd"], client) print(ret)