use provided endpoint url