如何从公司代理后面使用 NGROK 的 Windows 版本?
我正在使用Node JS,我需要联系 api.twilio.com。
例子:
// Twilio Credentials
var accountSid = 'ACCOUNTSID';
var authToken = 'AUTHTOKEN';
//require the Twilio module and create a REST client
var client = require('twilio')(accountSid, authToken);
client.messages.create({
to: "+16518675309",
from: "+14158141829",
body: "Thanks for the help StackOverflow!",
mediaUrl: "http://farm2.static.flickr.com/1075/1404618563_3ed9a44a3a.jpg",
}, function(err, message) {
console.log(message.sid);
});