updated publish script

This commit is contained in:
kageru 2018-11-04 22:19:15 +01:00
parent 645756d800
commit ff9ae9eb14
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

View File

@ -1,9 +1,9 @@
if [ -z ${1+x} ]; then
msg="test message"
read msg
else
msg="$1"
fi
curl localhost:12345/add -d "{\"content\": \"$msg\", \"Secret\": \"asdf\", \"author\": \"kageru\"}" -H "Content-Type: application/json" -v
curl localhost:12345/add -d "{\"content\": \"$msg\", \"Secret\": \"asdf\", \"author\": \"kageru\"}" -H "Content-Type: application/json"