fix: login response parsing a00.r.r (v0.1.5)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user