Proxmox3 API is not working

tincboy

Renowned Member
Apr 13, 2010
466
6
83
I've a code which works fine with Proxmox2 but any request to Proxmox3 API shows blank response,
How can I find out what is the issue?

Regards
 
I was wrong, only the vncproxy method is returning null while sending the request to url below
/api2/json/nodes/localhost/qemu/111/vncproxy
It was OK on Proxmox2 but to make it work on Proxmox 3 I should change the localhost on the url to hostname of server
/api2/json/nodes/p11/qemu/111/vncproxy
Is there any way to make it work with localhost? I dont have hostname in that part of my code, lots must be changed

Regards
 
It was OK on Proxmox2 but to make it work on Proxmox 3 I should change the localhost on the url to hostname of server
/api2/json/nodes/p11/qemu/111/vncproxy

That code is still the same, and should work using 'localhost'. What error message do you get exactly?