Skip to content

Instantly share code, notes, and snippets.

@iOnline247
Last active August 29, 2015 13:59
Show Gist options
  • Save iOnline247/10672870 to your computer and use it in GitHub Desktop.
Save iOnline247/10672870 to your computer and use it in GitHub Desktop.
jQuery.ajax({
type: "GET",
url: "/sites/siteName/_vti_bin/ExcelRest.aspx/listName/Vendors.xlsx/OData/Table1?$inlinecount=allpages",
headers: {
"Accept": "application/json;odata=verbose",
"X-RequestDigest": __REQUESTDIGEST.value
}
})
.done(function(data, status) {
console.dir(data);
})
.fail(function(data, status) {
console.dir(arguments);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment