isearch/resource/tools/query.sh

6 lines
136 B
Bash
Raw Normal View History

2021-09-14 17:54:31 +08:00
while read -r line
do
echo $line
curl -X POST http://127.0.0.1/search -H 'content-type: application/json' -d "$line"
done < search.json