Vijay Kumar
Vijay Kumar

Reputation: 597

access sharepoint api using user credentials

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

Upvotes: 2

Views: 4675

Answers (1)

ThinkB4Code
ThinkB4Code

Reputation: 141

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

Upvotes: 1

Related Questions