diff options
author | Ben Burwell <bburwell1@gmail.com> | 2013-09-05 20:52:48 -0400 |
---|---|---|
committer | Ben Burwell <bburwell1@gmail.com> | 2013-09-05 20:52:48 -0400 |
commit | c59ae69d6d7a69c7615e31c3a28a2ae13d84dc6d (patch) | |
tree | 2065af412f9fa4d76d6b3350da8037e046f29717 | |
parent | fda33bf18e8c0aa0ba53cd3e1514ad77aa07efe6 (diff) |
Switch from local HTTP to active911's HTTPS server
-rw-r--r-- | active911.js | 10 |
1 files 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 } }; |