Skip to content

Instantly share code, notes, and snippets.

@matbee-eth
Created September 30, 2011 13:15
Show Gist options
  • Save matbee-eth/1253709 to your computer and use it in GitHub Desktop.
Save matbee-eth/1253709 to your computer and use it in GitHub Desktop.
// 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