To gracefully stop Release, you need to add csrf headers to the call. See the example below:
curl -X POST --basic -u admin:$PASSWD http://<URL>:<port>/server/shutdown -H "Cookie: XSRF-TOKEN=1;" -H "X-XSRF-TOKEN:1"
With the SSL, use the following command:
curl -X POST --basic -k -u admin:$PASSWD https://<URL>:<port>/server/shutdown -H "Cookie: XSRF-TOKEN=1;" -H "X-XSRF-TOKEN:1"
Comments
Please sign in to leave a comment.