我使用poster向amadeushttps://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
}
]
}
我想知道这个网址是否真的有效。我想生成令牌并测试amadeusapi。我将感谢你的帮助
您可以在这里找到已经在Postman中预先配置的授权端点。
不要犹豫,直接下载我们的邮差系列,或者按照本教程一步一步学习如何做到这一点。