Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NTCredentials credentials = new NTCredentials(username, password, null, domain);
- HttpClient httpClient = //preparing HttpClient and providing created credentials to it;
- HttpGet getMethod = //preparing GET method with setting appropriate Accept header and builded URL;,
- http://mysharepointserver/_vti_bin/ListData.svc/SomeService?$select=Name,Modified,ContentType,Path&$filter=((Path%20eq%20'/SomePath'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement