Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. NTCredentials credentials = new NTCredentials(username, password, null, domain);
  2. HttpClient httpClient = //preparing HttpClient and providing created credentials to it;
  3. HttpGet getMethod = //preparing GET method with setting appropriate Accept header and builded URL;,
  4.  
  5. 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