Added some logs, ask test script encodes JSON uri component

This commit is contained in:
mrfry 2020-10-15 10:50:02 +02:00
parent 1aa5c7eef4
commit 45962874fd
4 changed files with 9 additions and 2 deletions

View file

@ -23,6 +23,9 @@ elif [ "$#" -eq 2 ]; then
fi
../bin/hr.sh
data=$(node -e "console.log(encodeURIComponent('$data'));")
echo sending
echo "Question: $q"
echo "Data: $data"