【问题标题】:cannot talk to amadeus token generation api无法与 amadeus token generation api 对话
【发布时间】:2021-01-12 07:39:45
【问题描述】:

我使用邮递员向 amadeus https://test.api.amadeus.com/v1/security/oauth2/token 发送了一个帖子。参数是

"grant_type": "client_credentials",
"client_id": "idstring",
"client_secret": "secretstring" 

在正文中发送,标题是"Content-Type": "application/x-www-form-urlencoded"在邮递员的标题部分作为密钥对输入,但是出现错误

{
    "errors": [
        {
            "code": 38196,
            "title": "Resource not found",
            "detail": "The targeted resource doesn't exist",
            "status": 404
        }
    ]
}

请问我想知道这个网址是否真的有效。我想生成令牌并测试 amadeus api。非常感谢您的帮助

【问题讨论】:

    标签: javascript angular postman token amadeus


    【解决方案1】:

    您可以在 Postman here 中找到已经预配置的授权端点。

    不要犹豫,直接下载我们的Postman collection 或关注this tutorial 以了解如何一步一步进行操作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-06-22
      • 2017-04-11
      • 1970-01-01
      • 2018-10-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-10
      相关资源
      最近更新 更多