Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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