trilium/test-etapi/_login.http

13 lines
210 B
Text
Raw Normal View History

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