...
curl -X GET -H "Authorization: Basic ZzXhuRkrYc5sTrXRzsZw==" http://localhost:8181/api/auth
...
curl -vs -X GET -H "Authorization: Bearer XXXXXXXXX" http://localhost:8181/api/devices
Authentication (Google)
1. Get AuthToken from Google
Not covered
2. Now you can call REST endpoint using AccessToken
curl -vs -X GET -H "Authorization: Google XXXXXXXXX" http://localhost:8181/api/devices