AnsweredAssumed Answered

Logout using cookie jar

Question asked by Steve Singh on Nov 7, 2018
Latest reply on Nov 9, 2018 by Damian OHara


Have a bash script where I can successfully authenticate and use the cookie-jar  using :


curl -H "X-Requested-With: Curl Sample" -D headers -d "action=login&username=SOMENAME3&password=SOMEPWD" -c cookie-jar.txt ""


I am trying to find a method to use the cookie-jar to log off :
I tried a few things such as this:


curl -H "X-Requested-With: Curl Sample" -L -b cookie-jar.txt "


but I get this error:

Failed to connect to port 443: Timed out


Any guidance would be appreciated...