Getting a REST API authentication token
An authentication token must be included in all REST API calls using the token
parameter. You can get a token using any REST client. The URI syntax to return a token is:
http://<IP address>:<port>/security/authenticate
For example,
curl -X POST -d'username=admin&password=******' http://localhost:9080/security/authenticate
will return a token in the format {"token":"01e41da3-9ddf-4f51-982d-685b3587069e"}
.
For sample code to get a token using Java, .NET, Python, Ruby, and other languages, see github.com/striim/rest-api-samples/tree/master/v2.