Software Defined Networking
1827703 Members
2974 Online
109967 Solutions
New Discussion

Configuring Controller Teaming but getting Curl Errors

 
Sir_Ussy
New Member

Configuring Controller Teaming but getting Curl Errors

 

I have been trying to configure the HP VAN Controller teaming for 3 computers with one as the Master and two as the slaves.

 

But when i use the curl command i keep getting errors: curl: (22) The requested URL returned error: 400 Bad Request

 

i read online that i should use "-k" or/and "--insecure" with the curl commands to avoid the certificate checks but i keep getting the same errors.

 

Here is the sample code i am trying to run:

 

curl -k --noproxy 54.164.116.8 --header X-Auth-Token:de965fae52bf456c8fc4fcc58b147401 --fail -ksS --request POST --url https://54.164.116.8:8443/sdn/v2.0/team --data-binary '{"team":{"name":"clusters1","ip":"10.0.0.47","systems": [{"name":"member_1","ip":"54.164.116.8","priority":10}, {"name":"member_2","ip":"54.152.144.16","priority":20}, {"name":"member_3","ip":"54.173.13.222","priority":30}]}}'

 

curl: (22) The requested URL returned error: 400 Bad Request

 

Thank You