trilium/test-etapi/_login.http
2022-01-12 21:14:12 +01:00

12 lines
210 B
HTTP

POST {{triliumHost}}/etapi/auth/login
Content-Type: application/json
{
"password": "1234"
}
> {%
client.assert(response.status === 201);
client.global.set("authToken", response.body.authToken);
%}