【发布时间】:2016-08-28 13:21:56
【问题描述】:
所以我是 Podio 的新手,在弄清楚如何进行身份验证后,我正在尝试进行第一次 API 调用。
我成功认证如下:
https://podio.com/oauth/token?grant_type=refresh_token&client_id=<client_id>&client_secret=<client_secret>&refresh_token=<refresh_token>
我去https://developers.podio.com/doc/items/get-item-22360测试检索物品,我能够正确检索我的物品。
现在给定我的项目 445614135,并且您通过调用 /item/445614135 检索项目在 URL 中此之前的内容是什么?换句话说,如果我想从 JQuery 调用,完整的 URI 是什么?
感谢您的帮助,在此先感谢。
编辑
根据下面使用 app_token 的答案,我尝试了建议的 POST 请求,但我得到了以下信息:
{
"error_parameters": {},
"error_detail": null,
"error_propagate": false,
"request": {
"url": "http://api.podio.com/item/445614135/",
"query_string": "oauth_token=***",
"method": "POST"
},
"error_description": "No matching operation could be found. The path '/item/445614135/' was not found..",
"error": "not_found"
}
显然我对 app_token 视而不见。
【问题讨论】:
标签: javascript jquery podio