打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
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的原创文章,请关注公众号"汪子熙":

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
认证鉴权与API权限控制在微服务架构中的设计与实现:授权码模式 | Aoho''s Blog
关于微信获取access
微信调用接口,防止Access_token过期的方法
REST API的身份验证(Authentication)
问答|微信小程序怎么生成二维码?
安装php redis扩展 - 傻瓜式微信开发教程23
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服