1
0

Test shell script removed.

This commit is contained in:
Alexander Andreev 2022-10-21 03:21:37 +04:00
parent 82a135cf1e
commit bdcf5fbf63
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -1,19 +0,0 @@
#!/usr/bin/sh
addr="http://127.0.0.1:18888"
pass="1234"
case $1 in
get)
curl $addr/
break
;;
new)
curl -d "name=$2&message=$3" $addr/
break
;;
reply)
curl -H "X-Password: $pass" -d "reply=$3" $addr/$2/reply
break
;;
esac