CHAPTER 9

image

Working with the REST API

In the previous chapter, we saw how to perform a great range of tasks using the JavaScript Object Model (JSOM) and the Etherson method. In this chapter, we’ll look at the same tasks, except how to perform them using the REST API. To that end, a lot of the HTML from the previous chapter will be similar and the results will be the same. The JavaScript, however, will be completely different. If you skipped the JSOM chapter, don’t worry; all the explanations of the code are present, so you won’t be left in the dark on any example.

REST stands for Representational State Transfer, which is a fancy way of saying, ...

Get Custom SharePoint Solutions with HTML and JavaScript: For SharePoint 2013 and SharePoint Online now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.