mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 01:01:26 +08:00
21 lines
450 B
HTTP
21 lines
450 B
HTTP
GET {{triliumHost}}/etapi/app-info
|
|
Authorization: Basic etapi {{authToken}}
|
|
|
|
> {%
|
|
client.assert(response.status === 200);
|
|
client.assert(response.body.clipperProtocolVersion === "1.0");
|
|
%}
|
|
|
|
###
|
|
|
|
GET {{triliumHost}}/etapi/app-info
|
|
Authorization: Basic etapi wrong
|
|
|
|
> {% client.assert(response.status === 401); %}
|
|
|
|
###
|
|
|
|
GET {{triliumHost}}/etapi/app-info
|
|
Authorization: Basic wrong {{authToken}}
|
|
|
|
> {% client.assert(response.status === 401); %}
|