Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created August 31, 2015 21:45
Show Gist options
  • Select an option

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

Select an option

Save boomtrain-support/bcb60848b3f83065febe to your computer and use it in GitHub Desktop.
GET /resources/:model - An example request for this endpoint using cURL
<script>
// Request all Resources by model type
function getResourcesModel() {
// Send a jQuery AJAX request to retrieve the Resources by model type
$.ajax({
url: 'https://api.boomtrain.com/resources/{model}',
// 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