def METHOD_NAME(self, path, data=None, decode=True):
    r = self._session.post(self._url + path, data=data)
    try:
        r.raise_for_status()
        if decode:
            return r.json()
    except HTTPError as exc:
        raise SnapdRequestError.from_http_error(exc) from exc
    return r