forked from fahrPool/fahrPool
docs: curl-Login-Beispiel nutzt Feld identifier
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ad2bc2da16
commit
4452d024f4
|
|
@ -39,7 +39,7 @@ Unbound:
|
||||||
HASH=$(curl -s http://localhost:<port>/login | grep -o '\$ACTION_ID_[a-z0-9]*' | head -1)
|
HASH=$(curl -s http://localhost:<port>/login | grep -o '\$ACTION_ID_[a-z0-9]*' | head -1)
|
||||||
curl -s -c cookies.txt -X POST http://localhost:<port>/login \
|
curl -s -c cookies.txt -X POST http://localhost:<port>/login \
|
||||||
-F "${HASH}=" \
|
-F "${HASH}=" \
|
||||||
-F 'email=admin@aushilfsfahrer.local' \
|
-F 'identifier=admin@aushilfsfahrer.local' # Feld heisst identifier (E-Mail oder Benutzername) \
|
||||||
-F 'password=Admin123!' \
|
-F 'password=Admin123!' \
|
||||||
-L -o response.html -w "HTTP_STATUS:%{http_code} FINAL_URL:%{url_effective}\n"
|
-L -o response.html -w "HTTP_STATUS:%{http_code} FINAL_URL:%{url_effective}\n"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue