Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

SharePoint & REST

Posted by Paul on January 10, 2015

SharePoint 2013 supports REST enabled web services.


REST is Representational State Transfer. REST is an architectural style and uses HTTP protocol.

REST provides more interoperability than SOAP (web services).

REST is supposed to be the right way of using HTTP verbs for CRUD operation. (Create – POST, Read – GET, Update – Put, Delete – DELETE) as per protocol definition in RFC 2616.



Following are few examples of REST.



Following are the advantages of going with REST:

1. REST web requests are easier to work with

2. No overheads of WSDL creation

3. No overheads of tying up with Service Reference

4. Direct Calls for fetch, insert, update, delete, find operations

5. Better Interoperability supporting different clients on different platforms, programming models

SharePoint & REST

SharePoint 2013 supports REST. This feature requires some inner tweaking of the existing web services.

In SharePoint the usage of HTTP Verbs as per REST is given below:

1. POST for Create

2. GET for Read

3. PUT for Update

4. DELETE for Delete


Following are the subset of operations we can perform using SharePoint & REST:

1. Create a Site Collection

2. Create a List

3. Create a Content Type

4. Add, Edit, Delete items from a List

5. Get an Item


Sometimes network firewalls block certain HTTP Verbs like PUT and DELETE. In this case we have to rely on X-HTTP-Method which is actually a header.

Syntax is:

XHTTPMethod = “X-HTTP-Method: ”






REST services of SharePoint are comparable with Client Side Object Models. We can use REST services as an alternative to CSOM or JSOM code.



In this article we have explored SharePoint & REST.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s