SAP Data Intelligence API如何获得Access Token - no authentication means found
試圖使用postman訪問(wèn)SAP Data Intelligence graph API時(shí),遇到401 unauthorized的錯(cuò)誤:
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的方法:
使用這個(gè)login API endpoint:
https://vsystem.ingress.dh-l5uukgih.dhaas-live.shoot.live.k8s-hana.ondemand.com/auth/login
注意user name的規(guī)范是tenant的名稱(chēng)加反斜杠加用戶(hù)名。
返回的payload:
從返回的Cookie字段里獲得Access Token:
然后在get API里就能anzhao Bearer
Token的方式使用這個(gè)token了:
要獲取更多Jerry的原創(chuàng)文章,請(qǐng)關(guān)注公眾號(hào)"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的SAP Data Intelligence API如何获得Access Token - no authentication means found的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 英特尔 Meteor Lake-S 桌面
- 下一篇: 国家航天局与亚太空间合作组织达成合作,共