Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Last active August 31, 2015 21:46
Show Gist options
  • Select an option

  • Save boomtrain-support/c2ea3559a43d205226a6 to your computer and use it in GitHub Desktop.

Select an option

Save boomtrain-support/c2ea3559a43d205226a6 to your computer and use it in GitHub Desktop.
GET /resources - An example request for this endpoint using jQuery
<script>
// Get the model types for Resources
function getResources() {
// Send a jQuery AJAX request to retrieve the model types
$.ajax({
url: 'https://api.boomtrain.com/resources',
// Replace with your App Id
headers: {'x-app-id': '{app_id}'},
type: 'GET',
success: function(msg) {
console.log(msg);
}
});
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment