mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 10:20:26 +00:00
Switch the api-test script to use https and wss for the connections.
This commit is contained in:
@@ -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 ""
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user