iControl REST 101 – Creating Objects
If you’ve been following along so far you’ve gotten an idea about what iControl REST is all about, seen how to get up and running so you can send commands via cURL to the API, parsed some responses, ...
Published Feb 20, 2014
Version 1.0Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
Stanislas_Piro2
Aug 07, 2014Cumulonimbus
Hi Tewfik,
In the defined command line, your POST data is "{" and not "{"name":"cw_test2","address":"10.10.10.3/8","vlan":"internal2"}"
use single quote instead of double quote : '{"name":"cw_test2","address":"10.10.10.3/8","vlan":"internal2"}'
Regards,
Stanislas