Tag Info

Hot answers tagged


You are using it wrong. In the MSDN samples, a POST is carried out using SP.RequestExecutor. Since you are using jQuery, use data instead of body. Because of that, nothing is being posted. Now, your ajax portion should look like below: $.ajax({ url: "WEBSITE-URL/_api/web/lists/getbytitle('LIBRARY-NAME')/views/getbytitle('VIEW-NAME')", method: ...


You can call SharePoint web services from server side & then user Credentials to the webservice client object & then do your operations. The credentials you can store it in your web.config file Refer: Adding webservice reference, then for credentials MSDN, Code Project

Only top voted, non community-wiki answers of a minimum length are eligible