def METHOD_NAME(self):
    body = self.parse_body()
    if self.status == httplib.UNAUTHORIZED:
        raise InvalidCredsError(body["message"])
    if self.status == httplib.NOT_FOUND:
        raise Exception("The resource you are looking for has not been found.")
    return self.body