_login.http 210 B

123456789101112
  1. POST {{triliumHost}}/etapi/auth/login
  2. Content-Type: application/json
  3. {
  4. "password": "1234"
  5. }
  6. > {%
  7. client.assert(response.status === 201);
  8. client.global.set("authToken", response.body.authToken);
  9. %}