Skip to content

Instantly share code, notes, and snippets.

@bgriggs1
Last active December 12, 2015 05:18
Show Gist options
  • Save bgriggs1/4720660 to your computer and use it in GitHub Desktop.
Save bgriggs1/4720660 to your computer and use it in GitHub Desktop.
$.ajax({
url: 'https://api.knackhq.com/v1/objects/object_1/records'
, type: 'GET'
, headers: {
'X-Knack-Application-Id': '5010b4b38eed0a844c0000a9'
, 'X-Knack-REST-API-Key': '26cb713e-a350-4139-962d-b3b75958d0d1'
}
, success: function(data) {
alert('got API RECORDS');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment