bringing repo current with local code

This commit is contained in:
Amos Jones 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 = { 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 headers: headers
}; };
@ -20,6 +20,11 @@ function callback(error, response, body) {
if (!error && response.statusCode == 200) { if (!error && response.statusCode == 200) {
console.log(body); console.log(body);
} }
console.log(body);
console.log(response)
console.log(error);
} }
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
request(options, callback); request(options, callback);

1169
log.txt Normal file

File diff suppressed because it is too large Load Diff

1731
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

19
package.json Normal file
View 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"
}
}