1
0
Mirror von https://github.com/mail-in-a-box/mailinabox.git synchronisiert 2026-03-24 19:07:23 +01:00

Update mailinabox.yml (#2054)

The examples for login and logout use GET instead of POST. GET gives me an error when using it, while POST seems to work.
Dieser Commit ist enthalten in:
kiekerjan
2021-10-31 17:49:26 +01:00
committet von GitHub
Ursprung 86067be142
Commit 646f971d8b

Datei anzeigen

@@ -71,7 +71,7 @@ paths:
x-codeSamples:
- lang: curl
source: |
curl -X GET "https://{host}/admin/login" \
curl -X POST "https://{host}/admin/login" \
-u "<email>:<password>"
responses:
200:
@@ -103,7 +103,7 @@ paths:
x-codeSamples:
- lang: curl
source: |
curl -X GET "https://{host}/admin/logout" \
curl -X POST "https://{host}/admin/logout" \
-u "<email>:<session_key>"
responses:
200: