Created
January 25, 2016 18:43
-
-
Save kwhinnery/ce361430b47531668a81 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
var Twilio = require('./index').Twilio; | |
var c = new Twilio(); | |
c.api.messages.create({ | |
to: '+16512080532', | |
from: process.env.TWILIO_NUMBER, | |
body: 'hey there' | |
}).then(function(data) { | |
console.log(data); | |
}).catch(function(e) { | |
console.log(e); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment