REST-API Authorization

Max

Administrator
Staff member
Good day.
You should use Basic authorization, for example:
Code:
curl -u user:password -H "Content-Type: application/json" -X POST http://localhost:8081/rest-api/stream/find -d '{"published":true,"display":["metrics"]}'
You should use the same user credentials as in web dashboard (admin and demo users by default). You can add a new user by CLI:
Using and accessing command line
Users management
 
Top