mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Adding questions using worker pools
This commit is contained in:
parent
d8695682f7
commit
4681ea3791
5 changed files with 50 additions and 17 deletions
|
@ -45,7 +45,7 @@ fi
|
|||
|
||||
echo "Result:"
|
||||
../bin/hr.sh
|
||||
res=$(curl -L -s -X GET "${url}/ask?q=${q}&data=${data}&subj=${subj}")
|
||||
res=$(curl -H "Content-Type: application/json" -L -s -X GET "${url}/ask?q=${q}&data=${data}&subj=${subj}")
|
||||
echo "$res" | jq
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo "jq error"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue