Hello everyone,
Is it possible to POST data with the parameters given in JSON ?
I develop a ruby on rails web service and active resource, the module in charge of consuming third parties RESTful web services, sends the paramters for REST requests in JSON.
For example, to create a new VM I would send something like the following :
Just like the JSON answers given by PVE.
Is it possible to POST data with the parameters given in JSON ?
I develop a ruby on rails web service and active resource, the module in charge of consuming third parties RESTful web services, sends the paramters for REST requests in JSON.
For example, to create a new VM I would send something like the following :
Code:
{"data":{"vmid":"4242"}}
Just like the JSON answers given by PVE.