Hi,
I would like to see examples on how to login/logout on Confluence 4.3.x.
I already have it for JIRA working...
curl -u #{@system['user']}:#{@system['pass']} --cookie-jar cookies-#{@system['product']}.txt \"#{@system['loginurl']}\" --head
curl -b cookies-#{@system['product']}.txt -c cookies-#{@system['product']}.txt -X DELETE \"#{@system['logouturl']}\" --head
I don't know if I'm too late to help, but here is a login curl example:
curl http://<confluence-server>/dologin.action --cookie /tmp/cookie.cook --cookie-jar /tmp/cookie.cook --data "os_username=youruser" --data "os_password=yourpassword" --data "formname=loginform" --data "login='Log In'"
No logout for confluence?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.