Created
June 4, 2016 06:00
-
-
Save dorian-davis/00fffe4d19b1ee606240e7cb0d4b9342 to your computer and use it in GitHub Desktop.
Connect to Intercom API via Salesforce Callout (Apex)
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
String username = 'xxxxxx'; //app id | |
String password = 'yyyyyy'; //api key | |
Blob headerValue = Blob.valueOf(username + ':' + password); | |
String authorizationHeader = 'Basic ' + EncodingUtil.base64Encode(headerValue); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment