debugging.txt (583B)
1 GET/POST 2 -------- 3 curl http://127.0.0.1:8000/v1/healthz 4 curl http://127.0.0.1:8000/v1/leaderboard/allHeats 5 curl -XPOST -d '{"data":"hi"}' http://127.0.0.1:8000/v1/echo 6 7 token="eyJ..." 8 curl -d '{"name":"style","value":"App-red.css"}' -H "Authorization: Bearer $token" http://127.0.0.1:8000/v1/leaderboard/updateSetting 9 curl -H "Authorization: Bearer $token" http://127.0.0.1:8000/v1/leaderboard/getSetting?name=style 10 11 WEBSOCKET 12 --------- 13 echo "egg fried rice" | websocat ws://127.0.0.1:8000/v1/leaderboard 14 echo '{"method":"watchScores"}' | websocat ws://127.0.0.1:8000/v1/leaderboard