POST request
This commit is contained in:
1 parent
ff2b9efa45
commit
30ec3b5845
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user