To properly keep session, we must to provide the following curl commands:

curl -v -b cookies.txt -c cookies.txt -H "Accept: application/json" -H "Content-type: application/json" -X POST http://todo-aerogear.rhcloud.com/todo-server/auth/login -d '

{"username":"john","password":"123"}

'

curl -v -b cookies.txt -c cookies.txt -H "Accept: application/json" -H "Content-type: application/json" --header "Auth-Token: 6b122165-f17e-48c6-96cd-4aa574adcae0" -X GET http://todo-aerogear.rhcloud.com/todo-server/tasks

Daniel Passos, let me know if that works for you.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira