mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00: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…
Add table
Add a link
Reference in a new issue