From a442ac980d7deca1b09650b65c6f1e16e01eb545 Mon Sep 17 00:00:00 2001 From: Simon Ebner Date: Tue, 23 Jul 2019 07:42:42 +0200 Subject: [PATCH] add command to reload of API cache --- upload.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/upload.sh b/upload.sh index 71a2e09..338398c 100755 --- a/upload.sh +++ b/upload.sh @@ -24,3 +24,6 @@ fi rm -f ${RESPONSE} #echo ${STATUS} + +# Clear/Reload API cache +curl -H "Content-Type: application/json" -d '{"reload": "true"}' https://data-api.psi.ch/sf/channels/config > /dev/null