curl -v -X POST -H content-type application json -H username admin -H

1
curl -v -X POST -H 'content-type: application/json' -H 'username: admin' -H 'password: adminpass' -H 'ipaddr:<VTN_IP_ADDR>' -d '{"controller": {"controller_id": "<CONTROLLER_ID>", "ipaddr":"<ODC_IP_ADDR>", "type": "odc", "version": "1.0", "auditstatus":"enable"}}' http:// <VTN_IP_ADDR>:8080/vtn-webapi/controllers.json