【发布时间】:2018-02-13 18:01:13
【问题描述】:
我在 vimeo 帐户上上传了一个视频。 工具使用 - PostMan Step1-制作了一个POST APIhttps://api.vimeo.com/oauth/authorize/client:
body - {
"grant_type":"client_credentials"
}
Header - Authorization - Basic Base64(cid:secret)
response :
{
"access_token": "randomValue",
"token_type": "bearer",
"scope": "public",
"app": {
"name": "AppName",
"uri": "/apps/120663"
}
}
第 2 步: 现在我进行 api 调用以获取视频列表,即 https://api.vimeo.com/me/videos 使用 accesstoken 作为授权 - Bearer Token
但我得到了回应 { "error": "您必须提供经过身份验证的有效访问令牌。" }
【问题讨论】: