Thanks for the information :)
I had not though to view the curl command on Chrome :)
It works with the curl command generated on Chrome. So I can compare it
with my curl command to understand why my command fails.
2017-03-02 16:38 GMT+01:00 Fabian Grünbichler :
> On Thu, Mar 02, 2017 at 02:41:
> I use this command :
> curl --silent --insecure --cookie "$(<~/cookie)" --header "$(<~/csrftoken)"
> -X POST --data name=dzr-mythugvm-01 --data newid=1001 --data
> target=proxmox-03 --data pool=Infra
> https://proxmox-01:8006/api2/json/nodes/proxmox-01/qemu/1000/clone
Here is how I create a full
On Thu, Mar 02, 2017 at 02:41:16PM +, Cédric Bernard wrote:
> Hello
>
> I try to clone a qemu template with the API in HTTP but i have a "null"
> result.
>
> I use this command :
> curl --silent --insecure --cookie "$(<~/cookie)" --header "$(<~/csrftoken)"
> -X POST --data name=dzr-mythugvm-0
Hello
I try to clone a qemu template with the API in HTTP but i have a "null"
result.
I use this command :
curl --silent --insecure --cookie "$(<~/cookie)" --header "$(<~/csrftoken)"
-X POST --data name=dzr-mythugvm-01 --data newid=1001 --data
target=proxmox-03 --data pool=Infra
https://proxmox-0