Switch the api-test script to use https and wss for the connections.

This commit is contained in:
Ken Moore
2016-01-08 11:59:04 -05:00
parent 18fa142de2
commit b2a2342f95
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ fi
echo ""
# Source our resty functions
. ./utils/resty -W "http://127.0.0.1:12151" -H "Accept: application/json" -H "Content-Type: application/json" -u ${fuser}:${fpass}
. ./utils/resty -W "https://127.0.0.1:12151" -H "Accept: application/json" -H "Content-Type: application/json" -u ${fuser}:${fpass}
# Check the reply of this REST query
echo ""

View File

@@ -1,5 +1,5 @@
var WebSocket = require('ws');
var wsserver = "ws://127.0.0.1:12150";
var wsserver = "wss://127.0.0.1:12150";
var wstoken = "foome";
var stdargs = "";
var ignorefirst = "true";