使用用户凭据访问SharePoint API

huangapple go评论82阅读模式
英文:

access sharepoint api using user credentials

问题

如何使用带有用户凭据的 API 请求访问 SharePoint。
例如,获取 SharePoint 中所有文档的列表。
是否有一种方法可以发送带有用户凭据的 HTTP 请求并从 SharePoint 获取响应?如果没有,请指定一种实现此目的的方法。我正在使用 Golang 开发此应用程序。

英文:

how to access sharepoint using api requests with headers having user credentials.
For example getting list of all the documents that are there in sharepoint.
Is there a way where we can send http request along with user credentials and get response from sharepoint, If not please specify a method to achieve this.i am developing this application in golang

答案1

得分: 1

这是没有直接的方法来做到这一点。由于您有本地环境,您可以尝试以下链接。

https://sharepoint.stackexchange.com/questions/220918/sharepoint-2010-get-rest-api-fetch-data-behind-authentication-using-javascript/221183#221183

英文:

There is no direct way of doing this. Since you have on-prem environment, you can try following link.

https://sharepoint.stackexchange.com/questions/220918/sharepoint-2010-get-rest-api-fetch-data-behind-authentication-using-javascript/221183#221183

huangapple
  • 本文由 发表于 2017年8月3日 15:49:56
  • 转载请务必保留本文链接:https://go.coder-hub.com/45478025.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定