试图使用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相关推荐

  1. SAP Data Intelligence API执行出错的排错之道

    使用HTTP GET访问SAP Data Intelligence graph API时,遇到500 internal server error的错误: 返回SAP Data Intelligence ...

  2. SAP Data Intelligence API返回错误消息 - Fordidden cross-site request

    解决方案 添加HTTP field - X-Requested-With HTTP value - XMLHttpRequest

  3. 从SAP Leonardo到SAP Data Intelligence

    Jerry之前的文章介绍过,我所在的团队曾经用SAP Leonardo上的机器学习服务,开发了一系列消费这些服务的原型应用: 如何在Web应用里消费SAP Leonardo的机器学习API 如何对SA ...

  4. SAP Data Intelligence Graph json源代码的结构分析

    以SAP Data Intelligence标准的示例Graph com.sap.demo.http.server为例,将其json代码保存到本地,使用json编辑器查看: operator之间有8条 ...

  5. 在SAP Data Intelligence Modeler里测试data Generator graph

    打开SAP Data Intelligence Modeler,切换到Graph标签页,打开data Generator: 查看这个Data Generator的实现脚本类型:JavaScript 这 ...

  6. remote: Incorrect username or password ( access token ) fatal: Authentication failed for gitee

    gitee推送到远程仓库时提示错误 remote: Incorrect username or password ( access token ) fatal: Authentication fail ...

  7. remote: pingfan443: Incorrect username or password (access token) fatal: Authentication failed for

    remote: pingfan443: Incorrect username or password (access token) fatal: Authentication failed for 在 ...

  8. remote: username : Incorrect username or password (access token) fatal: Authentication failed for

    git推送报错: remote: Mercury_Lc: Incorrect username or password (access token) fatal: Authentication fai ...

  9. remote: XXX Incorrect username or password (access token) fatal: Authentication failed for XXX

    异常信息 remote: Incorrect username or password (access token) fatal: Authentication failed for 'https:/ ...

最新文章

  1. LeetCode每日一题:回文链表(No.234)
  2. 深入探索JVM自动资源管理
  3. Java之——利用Comparator接口对多个排序条件进行处理
  4. struts2实现拦截器的方法
  5. FFMpeg框架代码阅读
  6. Asp.Net MVC项目通过Git同步到新开发设备上后无法作为网站启动
  7. 2016年下半年勒索软件数量翻倍
  8. 【系统架构】如何逐步去构建一个大型网站系统
  9. Hive的下载和安装
  10. 溯源:通过qq电话获取对方位置
  11. 查看git brach_Excel Go Brach – Excelebrations
  12. 学会jQuery 不用买书
  13. 跨境电商如何利用Quora帮你引上万流量
  14. elasticsearch7.0.1集群搭建(最后有ES6.7的配置)
  15. 1823. 找出游戏的获胜者
  16. 哈工大的计算机科学与技术三个校区区别,哈尔滨工业大学计算学部研招拟录三地比较,深圳校区初试分数最高...
  17. 维度、度量、指标概念
  18. MultipleOutputFormat和MultipleOutputs
  19. 专注云原生落地,星汉未来成为开源 GitOps 产业联盟会员
  20. 纯CSS实现逼真翻页时钟

热门文章

  1. sqlserver 导入/导出Excel
  2. 初级线段树讲解---转
  3. 维监控利器Nagios:概念、结构和功能
  4. Spring dataSource配置
  5. fedora7 常用软件安装
  6. 【Asp.Net】一般处理程序(ashx处理程序) 和 aspx页面处理程序
  7. C#中的集合、哈希表、泛型集合、字典
  8. textView不能完全显示时,滚动显示
  9. js实现代码类似w3School演示效果
  10. 【BZOJ】【3856】Monster