def METHOD_NAME(self, url, data):
    r = requests.post(url, data)
    try:
        r.raise_for_status()
    except requests.exceptions.HTTPError as http_error:
        if int(http_error.response.status_code) >= 500:
            capture_exception(http_error)
        raise http_error
    try:
        return r.json()
    except:
        raise RuntimeError("INVALID_OBJECT")