Created
February 14, 2018 19:07
-
-
Save ajb413/ce663103f32b8915e607fb9206778f02 to your computer and use it in GitHub Desktop.
Pubnub Functions config in test app for crowdsale
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
const xhr = require('xhr'); | |
const basicAuth = require('codec/auth'); | |
const username = '__YOUR_CLICKSEND_USER_NAME__'; | |
const authKey = '__YOUR_CLICKSEND_AUTH_KEY__'; | |
const uri = 'https://rest.clicksend.com/v3/sms/send'; | |
const authorization = basicAuth.basic(username, authKey); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment