Change By: Daniel Passos (10/Apr/13 9:33 AM)
Description: Login
{noformat}
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST http://localhost:8080/aerogear-controller-demo/login -d '{"username":"john","password":"123"}'
{noformat}

Retrieve information with Auth-Token header
{noformat}
curl -v -H "Accept: application/json" -H "Content-type: application/json" --header "Auth-Token: [YOUR TOKEN]" -X GET http://localhost:8080/aerogear-controller-demo/auth/otp/secret
{noformat}
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