Skip to content

Instantly share code, notes, and snippets.

@iOnline247
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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