pineapple/externals/cpp-httplib/example/uploader.sh
2022-06-15 19:54:21 +02:00

6 lines
141 B
Bash
Executable file

#/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