update api auth
All checks were successful
deploy / build-and-deploy (push) Successful in 15s

This commit is contained in:
2025-10-15 13:15:24 +02:00
parent 94c86a1183
commit d3af1cedfd
5 changed files with 15 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
## API
> Wenn die env variable `API_SECRET` gesetzt ist, muss jede API Request den HTTP Header `Authorization: Basic <API_SECRET>` haben.
> Wenn die env variable `API_SECRET` gesetzt ist, muss jede API Request den HTTP Header `Authorization: Basic <"api:<API_SECRET>" as base64>` haben.
<details>
<summary><code>POST</code> <code>/api/feedback</code> (Erstellt Feedbackformulare)</summary>