I want to use the improved OData/REST API in Sharepoint 2013 but it's hard to find good examples. As I see it, the OData-endpoint is of little use without a dedicated OData client library. With plain jQuery there's so much boilerplate I'd might as well just use JSOM and CAML.

So far I've found data.js, a low level library and JayData and Breeze.js, both depend on data.js. I have yet to find any code samples with any of these libraries being used in the context of Sharepoint.

Does anyone else have any know how on the subject?

1 Answer 1


This article on MSDN shows some examples of using jQuery.ajax calls:


Here is a good blog as well:


The only gotcha at all with calling the SharePoint 2013 REST API is that if you are doing anything other than GET, you have to add the custom X-RequestDigest header for security, and the If-Match for concurrency checking. Both are covered in the blog article.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.