def METHOD_NAME(self, url, data={}):
    try:
        resp = requests.METHOD_NAME(
            self.base_url + url,
            json=data,
            headers=self.header_auth(),
            verify=self.verifycert,
        )
        if resp.status_code == 200:
            return json.loads(resp.text)
        raise Error(
            "internal_server",
            "PUT error "
            + str(resp.status_code)
            + " "
            + self.base_url
            + url
            + " : "
            + resp.text,
            traceback.format_exc(),
        )
    except:
        raise Error(
            "internal_server",
            "UPDATE error "
            + str(resp.status_code)
            + " "
            + self.base_url
            + url
            + " : "
            + resp.text,
            traceback.format_exc(),
        )