Compare commits
No commits in common. "406424e1abc97220face748c942f63ab69337e12" and "ad8cf23ea18bac42d5bd5e9b57bab3651cefaa60" have entirely different histories.
406424e1ab
...
ad8cf23ea1
8
index.js
8
index.js
@ -1,14 +1,14 @@
|
|||||||
/*const apiKey = {
|
/*const apiKey = {
|
||||||
tokenID: 'ajones@pam!fixparsec',
|
tokenID: 'test@pam!fixparsec',
|
||||||
secret: '887ec723-b31a-43ca-be50-82ace6697536'
|
secret: 'b4e53082-4891-4d36-95c6-8662bd58f2ee'
|
||||||
}
|
}
|
||||||
HTTP: POST /api2/json/nodes/{node}/qemu/{vmid}/status/reboot
|
HTTP: POST /api2/json/nodes/{node}/qemu/{vmid}/status/reboot
|
||||||
curl -H "Authorization: ajones@pam!fixparsec=887ec723-b31a-43ca-be50-82ace6697536" https://192.168.1.32:8006/api2/json/nodes/pve1/qemu/109/status/reboot*/
|
url -H "Authorization: test@pam!fixparsec=b4e53082-4891-4d36-95c6-8662bd58f2ee" https://192.168.1.32:8006/api2/json/*/
|
||||||
|
|
||||||
var request = require('request');
|
var request = require('request');
|
||||||
|
|
||||||
var headers = {
|
var headers = {
|
||||||
'Authorization': 'ajones@pam!fixparsec=887ec723-b31a-43ca-be50-82ace6697536'
|
'Authorization': 'test@pam!fixparsec=b4e53082-4891-4d36-95c6-8662bd58f2ee'
|
||||||
};
|
};
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user