POST request

This commit is contained in:
florian committed 2026-10-17 22:33:55 +02:00
1 parent ff2b9efa45
commit 30ec3b5845
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ spec:
echo "{\"timestamp\":\"$(date '+%Y-%m-%dT%H:%M:%S%z')\",\"event\":\"startup\"}"
while true; do
echo "{\"timestamp\":\"$(date '+%Y-%m-%dT%H:%M:%S%z')\",\"event\":\"curl start\"}"
curl -s -X GET --max-time 150 http://service-seadex-internal:5000/update
curl -s -X POST --max-time 150 http://service-seadex-internal:5000/update
echo
echo "{\"timestamp\":\"$(date '+%Y-%m-%dT%H:%M:%S%z')\",\"event\":\"curl end\"}"
sleep 43200