【发布时间】: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