yuzu/externals/cpp-httplib/example/uploader.sh

7 lines
141 B
Bash
Raw Normal View History

2022-06-15 21:54:21 +04:00
#/usr/bin/env bash
for i in {1..10000}
do
echo "#### $i ####"
curl -X POST -F image_file=@$1 http://localhost:1234/post > /dev/null
done