Created
January 6, 2017 18:17
-
-
Save chadhutchins/3e9540dd81de9d59485f852117e9a611 to your computer and use it in GitHub Desktop.
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
client = ZAFClient.init(); | |
var settings = { | |
url: '{{setting.sugarUrl}}', | |
headers: {'oauth-token': '{{setting.sugarOauthAccessToken}}'}, | |
secure: true, | |
type: 'GET', | |
dataType: 'json', | |
contentType: 'application/json', | |
}; | |
client.request(settings).then(function(data){console.log(data);}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment