Created
August 31, 2015 21:45
-
-
Save boomtrain-support/bcb60848b3f83065febe to your computer and use it in GitHub Desktop.
GET /resources/:model - An example request for this endpoint using cURL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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