mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-19 09:02:27 +08:00
12 lines
243 B
Plaintext
12 lines
243 B
Plaintext
![]() |
POST {{triliumHost}}/etapi/auth/login
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"password": "1234"
|
||
|
}
|
||
|
|
||
|
> {%
|
||
|
client.assert(response.status === 200, "Response status is not 200");
|
||
|
|
||
|
client.global.set("authToken", response.body.authToken);
|
||
|
%}
|