Explorar o código

Added uploader.sh

yhirose %!s(int64=4) %!d(string=hai) anos
pai
achega
c247dcdd7b
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      example/uploader.sh

+ 6 - 0
example/uploader.sh

@@ -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