Trying to do some automation with Resilio Connect server but I always got:
$ curl -c cookie --insecure https://server:8443/api/v1/agents
{"code":401,"message":"Unauthorized"}
$ curl -c cookie --insecure https://server:8443/api/v2/agents
Found. Redirecting to /login
The doc mentioned "This API uses token-based authorization. Token can be created at Management Console. " However, there is no more detail how to do that.
Can someone please provide an example? Thanks.