def post(self, route, data, headers=HEADERS):
        result = self.fetch("/%s" % route, method = "POST",
                                body = json.dumps(data), headers=headers).body

        try:
            return json.loads(result)
        except __HOLE__:
            raise ValueError(result)
dataset/ETHPy150Open sihrc/tornado-boilerplate/indico/tests/testutils/server.py/ServerTest.post