myheats

Live heats, scoring and leaderboard for sport events
git clone https://git.in0rdr.ch/myheats.git
Log | Files | Refs | Pull requests | README | LICENSE

commit daeca7b11046754ff558de058af68853db60779a
parent cacdf04d4f1e6bfef0dab09f0f215d647e2ce236
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 29 Sep 2024 23:53:14 +0200

doc(debugging): curl with auth header

Diffstat:
Mdocs/debugging.txt | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/docs/debugging.txt b/docs/debugging.txt @@ -4,6 +4,10 @@ curl http://127.0.0.1:8000/v1/healthz curl http://127.0.0.1:8000/v1/leaderboard/allHeats curl -XPOST -d '{"data":"hi"}' http://127.0.0.1:8000/v1/echo +token="eyJ..." +curl -d '{"name":"style","value":"App-red.css"}' -H "Authorization: Bearer $token" http://127.0.0.1:8000/v1/leaderboard/updateSetting +curl -H "Authorization: Bearer $token" http://127.0.0.1:8000/v1/leaderboard/getSetting?name=style + WEBSOCKET --------- echo "egg fried rice" | websocat ws://127.0.0.1:8000/v1/leaderboard