You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@knox.apache.org by Jeff Zhang <zj...@gmail.com> on 2020/08/12 14:45:57 UTC
How to login sso in knox via rest api
I'd like to call rest api of zeppelin behind knox. The following code works
if I didn't enable knox sso. But it won't work if I enabled sso, does
anyone know can I call zeppelin rest api in this case ? Thanks
response = Unirest.get("https://localhost:8443/gateway/sandbox/zeppelin/api/notebook")
.basicAuth("guest", "guest-password")
.asString();
System.out.println(response.getBody());
--
Best Regards
Jeff Zhang