bringing repo current with local code
This commit is contained in:
7
index.js
7
index.js
@@ -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);
|
||||
Reference in New Issue
Block a user