copy code from my personal git repo

This commit is contained in:
Fabrice Bellamy 2026-01-28 17:57:15 +01:00
parent 24d6c84170
commit f9f509c619
28 changed files with 787 additions and 1 deletions

12
tests/send_test_requests.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
source "test-env.sh"
TARGET=${test_base_url}/bibleds
for f in leds*.json; do
echo "##########################################"
echo "# sending post request to ${TARGET} with :"
echo "# ${f}"
echo "##########################################"
time curl -u "${leds_user}:${leds_password}" --request POST --data "@${f}" --header "Content-Type: application/json" ${TARGET}
echo
echo
done