mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 18:08:13 +08:00
12 lines
No EOL
213 B
HTTP
12 lines
No EOL
213 B
HTTP
POST {{triliumHost}}/etapi/auth/login
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"password": "1234"
|
|
}
|
|
|
|
> {%
|
|
client.assert(response.status === 200);
|
|
|
|
client.global.set("authToken", response.body.authToken);
|
|
%} |