<commit_before>var twilio = require('twilio');
var config = require('./config.js');
// com ed 
// Create a new REST API client to make authenticated requests against the
// twilio back end
var client = new twilio.RestClient(config.sid, config.token);
client.calls.create({ 
  to: "+13023546447", 
  from: "+13023973373",
  method: "GET",  
  fallbackMethod: "GET",  
  statusCallbackMethod: "GET",
  url: "http://ec2-54-84-89-6.compute-1.amazonaws.com/test.xml",
  record: "false" 
}, function(err, call) { 
  if(err) {
    console.log(err);
  }else{
    console.log(call);
  }
});

var restify = require('restify');

var server = restify.createServer({
    name : "tele-map"
});

server.use(restify.queryParser());  //parses the query string, ie /repo/three.js
server.use(restify.bodyParser());   //turns requests into js objects automagically
server.use(restify.CORS());         //configures 'Cross-origin resource sharing'
 
server.listen("8080", "127.0.0.1", function(){
    console.log('%s ws now listening on %s ', server.name , server.url);
});

server.get({ path : '/test' } , function (req, res, next) {
  console.log(req);
  debugger;
});

server.get({ path: '/.*'}, restify.serveStatic({
  directory: './public',
  default: 'index.html'
}));<commit_msg>changed method to post duh!<commit_after>var twilio = require('twilio');
var config = require('./config.js');
// com ed 
// Create a new REST API client to make authenticated requests against the
// twilio back end
var client = new twilio.RestClient(config.sid, config.token);
client.calls.create({ 
  to: "+13023546447", 
  from: "+13023973373",
  method: "GET",  
  fallbackMethod: "GET",  
  statusCallbackMethod: "GET",
  url: "http://ec2-54-84-89-6.compute-1.amazonaws.com/test.xml",
  record: "false" 
}, function(err, call) { 
  if(err) {
    console.log(err);
  }else{
    console.log(call);
  }
});

var restify = require('restify');

var server = restify.createServer({
    name : "tele-map"
});

server.use(restify.queryParser());  //parses the query string, ie /repo/three.js
server.use(restify.bodyParser());   //turns requests into js objects automagically
server.use(restify.CORS());         //configures 'Cross-origin resource sharing'
 
server.listen("8080", "127.0.0.1", function(){
    console.log('%s ws now listening on %s ', server.name , server.url);
});

server.post({ path : '/test' } , function (req, res, next) {
  console.log(req);
  debugger;
});

server.get({ path: '/.*'}, restify.serveStatic({
  directory: './public',
  default: 'index.html'
}));
{'fraction_non_alphanumeric': 0.1820684231222965, 'fraction_numerical': 0.03224537947306331, 'mean_word_length': 3.827324478178368, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2685699', 'n_tokens_mistral': 919, 'n_tokens_neox': 868, 'n_words': 210}