This file contains 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
curl -u {username}:{password} | |
-H 'x-app-id: {app_id}' | |
-X {POST or PUT} | |
-H 'Content-Type: application/json' | |
-d '{Data to POST or PUT}' | |
'https://api.boomtrain.com/{endpoint}' |
This file contains 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
$.ajax({ | |
url: 'https://api.boomtrain.com/{endpoint}', | |
headers: { | |
'x-app-id': '{app_id}' | |
}, | |
... | |
}); |
This file contains 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
curl | |
-H 'x-app-id: {app_id}' | |
'https://api.boomtrain.com/{endpoint}' |
This file contains 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
$.ajax({ | |
url: 'https://api.boomtrain.com/tokens', | |
headers: { | |
'x-app-id': '{app_id}', | |
'Authentication': 'Basic ' + btoa('{username}:{password}') | |
}, | |
... | |
}); |
This file contains 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
curl -u {username}:{password} | |
-H 'x-app-id: {app_id}' | |
-X {HTTP Method} | |
'https://api.boomtrain.com/tokens' |
This file contains 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
curl -u {username}:{password} | |
-H 'x-app-id: {app_id}' | |
-X {HTTP Method} | |
'https://api.boomtrain.com/{endpoint}' |
This file contains 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
$.ajax({ | |
url: 'https://api.boomtrain.com/{endpoint}', | |
headers: { | |
'x-app-id': '{app_id}', | |
'Authentication': 'Basic ' + btoa('{username}:{password}') | |
}, | |
... | |
}); |
This file contains 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
curl -u {username}:{OAuth Token} | |
-H 'x-app-id: {app_id}' | |
-X {HTTP Method} | |
'https://api.boomtrain.com/{endpoint}' |
This file contains 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> | |
// Use the OAuth Token with another request | |
function useToken() { | |
//Send a jQuery AJAX request | |
$.ajax({ | |
url: 'https://api.boomtrain.com/{endpoint}', | |
// Replace with your Username and App Id, | |
// using the OAuth Token in place of your Password | |
headers: { | |
'x-app-id': '{app_id}', |
This file contains 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
curl -u {username}:{password} | |
-H 'x-app-id: {app_id}' | |
-X GET | |
'https://api.boomtrain.com/notifications/{id}' |