Browse Source

Added uploader.sh

yhirose 4 năm trước cách đây
mục cha
commit
c247dcdd7b
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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