mirror of
https://github.com/zadam/trilium.git
synced 2024-11-12 02:37:39 +08:00
12 lines
210 B
HTTP
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);
|
|
%}
|