mirror of
https://github.com/zadam/trilium.git
synced 2024-11-14 19:55:10 +08:00
14 lines
330 B
HTTP
14 lines
330 B
HTTP
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); %}
|