【发布时间】:2023-03-29 07:12:01
【问题描述】:
我正在尝试使用他们的 API 登录 soundcloud。我设法从/connect 获得了成功响应的代码,但是当我尝试获得token 时,我最终得到了401 错误。这是我发送的内容:
POST /oauth2/token HTTP/1.1
Host: api.soundcloud.com
Content-Type: application/x-form-urlencoded
Cache-Control: no-cache
Postman-Token: 255c7769-0f65-5c40-27bc-9429ea8c38ea
client_id=<my client id>&
client_secret=<my secret id>&
redirect_uri=http%3A%2F%2Fmywebsite&
grant_type=authorization_code&
code=a99cfc85c0e46235d7fdb9ca74b7dddd%23
有谁知道我在这里想念什么来获得工作请求?
【问题讨论】:
标签: android http soundcloud