I'm trying to shutdown a VM with method POST but I get the error:
Status: 401 Permission denied - invalid csrf token
POST for: https://mydomain:8006/api2/extjs/nodes/pve2/qemu/myvm/status/shutdown
In method GET i have success.
Status: 401 Permission denied - invalid csrf token
POST for: https://mydomain:8006/api2/extjs/nodes/pve2/qemu/myvm/status/shutdown
In method GET i have success.