mirror of
https://github.com/zadam/trilium.git
synced 2024-11-14 11:45:20 +08:00
15 lines
330 B
Text
15 lines
330 B
Text
|
GET {{triliumHost}}/etapi/app-info
|
||
|
Authorization: Basic whatever {{authToken}}
|
||
|
|
||
|
> {%
|
||
|
client.assert(response.status === 200);
|
||
|
client.assert(response.body.clipperProtocolVersion === "1.0");
|
||
|
%}
|
||
|
|
||
|
###
|
||
|
|
||
|
GET {{triliumHost}}/etapi/app-info
|
||
|
Authorization: Basic whatever wrong pass
|
||
|
|
||
|
> {% client.assert(response.status === 401); %}
|