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 925dfdeb7eb4d2cfe2ed305791a20af4287a692e
parent 5ee9c13400ef6202e7439ec35b3f7e109af73d8f
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 22 Sep 2024 10:07:05 +0200

doc: websocat debugging

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

diff --git a/docs/debugging.txt b/docs/debugging.txt @@ -1 +1,9 @@ +GET/POST +-------- +curl -d '{"data":"hi"}' http://127.0.0.1:8000/v1/echo + +WEBSOCKET +--------- echo "egg fried rice" | websocat ws://127.0.0.1:8000/v1/leaderboard +echo '{"method":"getStartListForHeats","data":{"heatIds":[123]}}' | websocat ws://127.0.0.1:8000/v1/leaderboard +echo '{"method":"getScoreForHeatAndAthlete","data":{"heatId":123,"athleteId":456}}' | websocat ws://127.0.0.1:8000/v1/leaderboard