bringing repo current with local code
This commit is contained in:
parent
a479d7e61e
commit
ad8cf23ea1
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);
|
1731
package-lock.json
generated
Normal file
1731
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
19
package.json
Normal file
19
package.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "fixparsec",
|
||||
"version": "1.0.0",
|
||||
"description": "small apt to resst parsec virtual machines",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.theta42.com/ajones/fixparsec.git"
|
||||
},
|
||||
"author": "amos jones",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"express": "^4.18.2",
|
||||
"request": "^2.88.2"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user