Skip to content

Instantly share code, notes, and snippets.

@kitmenke
Created November 24, 2013 16:08
Show Gist options
  • Save kitmenke/7628773 to your computer and use it in GitHub Desktop.
Save kitmenke/7628773 to your computer and use it in GitHub Desktop.
Example for making an AJAX call against SharePoint 2013's REST API using jQuery
$.ajax({
dataType: "json",
accepts: { "json":"application/json;odata=verbose"},
url: "/timetracking/_api/web/lists/getByTitle('Timesheet Entries')/items"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment