Friday, 18 July 2014

What is REST ? How is it used in SharePoint 2010 ?


Ans. REST (Representational State transfer) is a protocol (powered by ADO.NET services) which is used for getting data out of SharePoint via Url. It is mostly used to access data from SharePoint even when you are not in the SharePoint context.
What data type is returned by REST ?
Ans. REST does not return an object of type SharePoint Site\List. Instead, it returns an XML output.