updated publish script
parent
645756d800
commit
ff9ae9eb14
@ -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"
|
||||
|
||||
|
Loading…
Reference in new issue