1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > SAP Data Intelligence API如何获得Access Token - no authentication means found

SAP Data Intelligence API如何获得Access Token - no authentication means found

时间:2024-07-25 16:27:24

相关推荐

SAP Data Intelligence API如何获得Access Token - no authentication means found

试图使用postman访问SAP Data Intelligence graph API时,遇到401 unauthorized的错误:

no authentication means found

API url:https://vsystem.ingress.dh-l5uukgih.dhaas-live.shoot.live.k8s-/app/pipeline-modeler/service/v1/graphs/0aa4240340e6b9804b295e789eaa/operator/httpserver1/objects/1

取得Access Token的方法:

使用这个login API endpoint:

https://vsystem.ingress.dh-l5uukgih.dhaas-live.shoot.live.k8s-/auth/login

注意user name的规范是tenant的名称加反斜杠加用户名。

返回的payload:

从返回的Cookie字段里获得Access Token:

然后在get API里就能anzhao Bearer

Token的方式使用这个token了:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。