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

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

SAP Data Intelligence API如何获得Access Token - no authentication means found_第1张图片

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

取得Access Token的方法:

使用这个login API endpoint:
https://vsystem.ingress.dh-l5uukgih.dhaas-live.shoot.live.k8s-hana.ondemand.com/auth/login
注意user name的规范是tenant的名称加反斜杠加用户名。
SAP Data Intelligence API如何获得Access Token - no authentication means found_第2张图片

返回的payload:

SAP Data Intelligence API如何获得Access Token - no authentication means found_第3张图片

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

SAP Data Intelligence API如何获得Access Token - no authentication means found_第4张图片

然后在get API里就能anzhao Bearer
Token的方式使用这个token了:

SAP Data Intelligence API如何获得Access Token - no authentication means found_第5张图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP Data Intelligence API如何获得Access Token - no authentication means found_第6张图片

你可能感兴趣的:(SAP Data Intelligence API如何获得Access Token - no authentication means found)