2022-10-09 02:59:11 +08:00
|
|
|
GET {{triliumHost}}/etapi/app-info
|
2022-10-10 03:33:32 +08:00
|
|
|
Authorization: Basic etapi {{authToken}}
|
2022-10-09 02:59:11 +08:00
|
|
|
|
|
|
|
> {%
|
|
|
|
client.assert(response.status === 200);
|
|
|
|
client.assert(response.body.clipperProtocolVersion === "1.0");
|
|
|
|
%}
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
GET {{triliumHost}}/etapi/app-info
|
2022-10-10 03:33:32 +08:00
|
|
|
Authorization: Basic etapi wrong
|
|
|
|
|
|
|
|
> {% client.assert(response.status === 401); %}
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
GET {{triliumHost}}/etapi/app-info
|
|
|
|
Authorization: Basic wrong {{authToken}}
|
2022-10-09 02:59:11 +08:00
|
|
|
|
|
|
|
> {% client.assert(response.status === 401); %}
|