How to: Gracefully shut down Release

 

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"

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.