Updated ETAPI (markdown)

zadam 2022-10-08 21:04:30 +02:00
parent 581e3b1bd1
commit 5dacf1a8f0

@ -20,6 +20,6 @@ GET https://myserver.com/etapi/app-info
Authorization: Basic BATOKEN Authorization: Basic BATOKEN
``` ```
Where `BATOKEN = BASE64(username + ':' + password)` (this is a standard Basic Auth serialization) * Where `BATOKEN = BASE64(username + ':' + password)` (this is a standard Basic Auth serialization)
Where `username` is an arbitrary token and is not checked, use e.g. "trilium" * Where `username` is an arbitrary token and is not checked, use e.g. "trilium"
And `password` is the generated ETAPI token described above. * And `password` is the generated ETAPI token described above.