This file contains hidden or 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 nodeio = require('node.io'); | |
var methods = { | |
input: false, | |
run: function() { | |
this.getHtml('http://www.google.com/', function(err, $, data, headers) { | |
$('a').each('href', function (href) { | |
//Print all links on the page |
This file contains hidden or 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
# build up a response | |
response = Twilio::TwiML::Response.new do |r| | |
r.Say 'Hello, please wait.', :voice => 'woman' | |
r.Dial :callerId => '+14159992222' do |d| | |
d.Conference 'myfirstconference', :waitUrl => 'http://mysite.com/waiturl.mp3' | |
end | |
end |
OlderNewer