[PVE-User] Querying the REST API
Dietmar Maurer
dietmar at proxmox.com
Mon Dec 19 06:07:22 CET 2011
> Thank you Dietmar, it works better now.
> I got a ticket, however if I do :
> curl -k -d "PVEAuthCookie=PVE:root at pam:4EECBED4::Q3Qp4H.....iAtA4a0w=="
> https://10.0.1.50:8006/api2/json/cluster/resources
> I get : {"data":null}
The PVE API return detailed error messages. Please use '-v' flag for curl to show them.
BTW, a ticket is only valid for about 2 hours.
- Dietmar
More information about the pve-user
mailing list