[PVE-User] PNG Error on Proxmox Rest API rrd
jcerdan at tecob.com
jcerdan at tecob.com
Thu Nov 21 19:01:58 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 21/11/13 16:45, Dietmar Maurer wrote:
>> Well, it's indicated in the api doc [1] that to acces rrd we
>> should use GET /api2/json/nodes/{node}/openvz/{vmid}/rrd
>>
>> I guess that should be corrected isn't it?
>
> If you use /api2/json you get the png as utf8 encoded string.
>
> if you want png binrary data use /api2/png/
>
Hi,
ok. it'd fine now using utf8_decode() function in php
I'm going to answer posts in the forum about that.
Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlKOSpUACgkQI1eRLmOdtQTk6gCfe6BBeH9A6y2BxSud3/oqdroh
VaQAni/4QM0A0BJZLTVZlYyuXdplsqRj
=KVKy
-----END PGP SIGNATURE-----
More information about the pve-user
mailing list