[PVE-User] Querying the REST API
dietmar at proxmox.com
Sat Dec 17 10:13:36 CET 2011
> Firstly, i would like to congratulate you for the really good work you
> did on PVE 2.0.
> Secondly, i'm playing with the API and i didn't succeeded to make a very
> basic request.
> Here is the problem :
> curl -XGET https://10.0.1.50:8006/api2/cluster
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <title>501 Method Not Implemented</title>
The correct base url is:
or if you want html output:
But you also need to pass the authentication tokens (not documented so far).
More information about the pve-user