Stoping nodes using API call not working
Posted: Thu Jan 27, 2022 7:11 pm
Hello,
I am trying to stop a single node using the following API call:
curl -s -c /tmp/cookie -b /tmp/cookie -k GET -H 'Content-type: application/json' https://10.5.0.3/api/labs/test.unl/nodes/1/stop
However, when I run this command I get the following:
{"code":400,"status":"fail","message":"Request not valid (60027)."}root@eve:~#
I run the login command right before I try to run the stop command.
Please let me know your thoughts.
Thanks
Please note, this is for eve-ng pro version 4.0.1-65-PRO
I am trying to stop a single node using the following API call:
curl -s -c /tmp/cookie -b /tmp/cookie -k GET -H 'Content-type: application/json' https://10.5.0.3/api/labs/test.unl/nodes/1/stop
However, when I run this command I get the following:
{"code":400,"status":"fail","message":"Request not valid (60027)."}root@eve:~#
I run the login command right before I try to run the stop command.
Please let me know your thoughts.
Thanks
Please note, this is for eve-ng pro version 4.0.1-65-PRO