mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 09:46:25 +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); %}
|