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-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的名稱加反斜杠加用戶名。
返回的payload:
從返回的Cookie字段里獲得Access Token:
然后在get API里就能anzhao Bearer
Token的方式使用這個token了:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的SAP Data Intelligence API如何获得Access Token - no authentication means found的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 英特尔 Meteor Lake-S 桌面
- 下一篇: 国家航天局与亚太空间合作组织达成合作,共