def post(self, url, data):
        """Http post method wrapper, to support insert.
        """
        try:
            res = requests.post(
                url, headers=self.headers, data=json.dumps(data))
            return json.loads(res.text)
        except Exception as e:
            print(e)
            return "error"
Http post method wrapper, to support insert.