> > yeah but still how do arrays and hashes be encoded? The key and values > > are url encoded - sure but how are values of type array encoded? > > Oh, I guess easiest way would be to add the ability to post 'JSON' data (use > application/json instead of application/x-www-form-urlencoded) > > see HTTPServer::extract_params()
For testing, you can simply pass a JSON encoded string: commands => "JSON_STRING" You can the simple encode the string inside you API call. We can add support to post JSON data later. _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
