openmohaa/code/cpp-httplib-0.19.0/example/uploader.sh

7 lines
143 B
Bash
Raw Normal View History

2025-02-23 21:30:56 +01:00
#/usr/bin/env bash
for i in {1..1000000}
do
echo "#### $i ####"
curl -X POST -F image_file=@$1 http://localhost:1234/post > /dev/null
done