1.33.3 Authentication
Some REST commands require authentication via a token. The token is defined in the configuration file in the following section:
<webapi>
<authorization>
<token>6326390c-b19f-11e8-a99c-08606e6a464a</token>
</authorization>
</webapi>
For authentication, the token is then sent in the header, for example:
curl -s -H "Content-Type: application/json" -H "token:6326390c-b19f-11e8-a99c-08606e6a464a" -d '{"type":"NOTIFY_SEARCH_UPDATE"}' http://localhost:8080/viewer/api/v1/tasks/
Last updated
Was this helpful?