Skip to content

Instantly share code, notes, and snippets.

@jpipas
jpipas / recursive_ajax.js
Created December 1, 2016 14:09
Pseudo Code
var dataresults;
function getResults(restURL) {
$.ajax({
url: restUrl,
type: 'GET',
dataType: 'JSON',
headers: {
"accept":"application/json;odata=verbose",
"X-RequestDigest": $("#__REQUESTDIGEST").val()