Trello API learning through Postman

送分小仙女□ 提交于 2020-01-07 06:50:27

问题


Am learning the Trello API documentation through Postman. I have been following the documentation here https://developers.trello.com/get-started/intro. And have authorized Server Token on the test account.

Note: Keys where provided through https://trello.com/app-key

However was trying to do this request, it always returns this response.

Response

  • HTTP Status : 401
  • Body/Content : invalid key
  • Custom headers (x-trello-version) : 1.855.2

Request

  • HTTP Method : GET
  • URL : https://api.trello.com/1/members/[username]?key=[application_key]&token=[optional_auth_token]
  • URL params [username] : me / user_with_server_token_authorised
  • URL params [application_key] : server token access key
  • URL params [optional_auth_token] : OAuth 1 secret

Am I doing it wrong?

x-post : reddit.com/r/trello


回答1:


I think you may have the keys mixed up.

URL params [application_key] : server token access key URL params [optional_auth_token] : OAuth 1 secret

You should use the app key for application_key and token for optional_auth_token from trello.com/app-key

edit: If this doesn't work - share your entire path you're using (block the token)



来源:https://stackoverflow.com/questions/42185447/trello-api-learning-through-postman

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!