fix: login response parsing a00.r.r (v0.1.5)

This commit is contained in:
2026-04-15 13:15:08 +02:00
parent a680fb2e51
commit 7372648894
4 changed files with 17 additions and 17 deletions
+5 -2
View File
@@ -27,9 +27,12 @@ Content-Type: application/x-www-form-urlencoded
**Response (Erfolg):**
```json
{ "r": { "r": <SessionObject> } }
{ "a00": { "r": { "r": <SessionObject> }, "cn": "log2in" } }
```
`SessionObject` enthält u.a. `tokenCsrf` und `webApiUrl`.
`tokenCsrf` ist die Session-ID identisch zur `JSESSIONID` im Cookie.
**Response (Fehler):**
```json
@@ -38,7 +41,7 @@ Content-Type: application/x-www-form-urlencoded
```
Der Server setzt nach erfolgreichem Login ein Session-Cookie:
Set-Cookie: JSESSIONID=<session-id>
Set-Cookie: JSESSIONID=<session-id> (= tokenCsrf)
### Folgecalls (nach Login)