【发布时间】:2018-01-24 09:09:34
【问题描述】:
我正在尝试从 https://mysite.sharpoint.com 获取数据,我能够从 chrome 获取数据(例如,请求 https://mysite.sharepoint.com/_api/web/lists),因为我的凭据存储在 Chrome 中。如果我尝试从 REST 客户端(Post man 或 ARC)或 C#(HttpClient)获取相同的请求,我将面临 403 Forbidden 错误。
我按照http://paulryan.com.au/2014/spo-remote-authentication-rest/ 中给出的步骤操作,在第 3 步(获取请求摘要)中遇到 403 Forbidden 错误。 我需要使用 REST api 在线访问共享点中的数据。请分享您的建议。
注意: 我有以下 3 个来自用户的输入,
- 共享点站点 URL
- 用户名
- 密码
【问题讨论】:
-
参考此链接。这对你有用——blog.sprider.org/2016/09/15/…
-
@RohitWaghela 链接失效如果您有其他链接,请分享...谢谢
标签: rest sharepoint postman