bringing repo current with local code

This commit is contained in:
2023-07-18 16:42:00 -06:00
parent a479d7e61e
commit ad8cf23ea1
4 changed files with 2925 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ var headers = {
};
var options = {
url: 'https://192.168.1.32:8006/api2/json/',
url: 'https://192.168.1.32:8006/api2/json/nodes/pve1/qemu/109/status/reboot',
headers: headers
};
@@ -20,6 +20,11 @@ function callback(error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body);
}
console.log(body);
console.log(response)
console.log(error);
}
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
request(options, callback);