updated publish script
This commit is contained in:
parent
645756d800
commit
ff9ae9eb14
4
test.sh
4
test.sh
|
@ -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