Created
September 30, 2011 13:15
-
-
Save matbee-eth/1253709 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
// Using nodeJS & express. | |
var Tropo = require('tropo-webapi'); | |
app.post('/inbound', function(req, res) { | |
var webapi = new Tropo.TropoWebAPI(); | |
var say = {value: "This is my message."} | |
webapi.message(say, "18882220101", false, "TEXT"); | |
res.send(TropoJSON(webapi)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment