【发布时间】:2015-04-11 12:37:13
【问题描述】:
是否有一种简单的方法可以使用对 REST API 的 cURL 请求来访问我的 Sharepoint 帐户上的文件?例如
curl -i -H "Authorization: Bearer <some-key-here>" https://mysharepoint.com/_api/web/Lists
我已阅读有关authentication and authorization for apps 的所有文档,但在这种情况下,我没有可以注册的“应用程序”。我只需要某种 API 密钥就可以在 REST 请求中使用。如何以这种方式使用 REST API?
感谢您对此问题的任何见解。
【问题讨论】:
标签: rest sharepoint curl sharepoint-2013 sharepoint-api