mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Added uploader.sh
This commit is contained in:
parent
793ae9855e
commit
c247dcdd7b
1 changed files with 6 additions and 0 deletions
6
example/uploader.sh
Executable file
6
example/uploader.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#/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
|
Loading…
Reference in a new issue