[PVE-User] setting NET config via API

Dietmar Maurer dietmar at proxmox.com
Tue Jul 16 06:29:22 CEST 2013


> however if I try the same via CURL..
> 
> curl -s -k -XPOST -H 'CSRFPreventionToken:$CSRFPreventionToken'
> '$host/api2/json/nodes/proxmox02/qemu/20011/config' -b
> 'PVEAuthCookie=$key' -d 'net0=e1000,bridge=vmbr20'

IDoes it work if you use:

--data-urlencode 'net0=e1000,bridge=vmbr20'





More information about the pve-user mailing list