File: uploader.sh

package info (click to toggle)
cpp-httplib 0.25.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,708 kB
  • sloc: cpp: 19,322; makefile: 176; python: 50; sh: 50
file content (6 lines) | stat: -rwxr-xr-x 143 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
#/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