From c59ae69d6d7a69c7615e31c3a28a2ae13d84dc6d Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Thu, 5 Sep 2013 20:52:48 -0400 Subject: Switch from local HTTP to active911's HTTPS server --- active911.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/active911.js b/active911.js index 577e47e..df2e2c6 100644 --- a/active911.js +++ b/active911.js @@ -1,4 +1,4 @@ -var http = require('http'); +var http = require('https'); var querystring = require('querystring'); module.exports = function (app_key, api_key) { @@ -15,12 +15,12 @@ module.exports = function (app_key, api_key) { // HTTP request configuration var options = { - host: 'localhost', - port: '5000', - path: '/api', + host: 'access.active911.com', + port: '443', + path: '/interface/open_api.php', method: 'POST', headers: { - 'Content-Length': post.length; + 'Content-Length': post.length } }; -- cgit v1.2.3