diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-27 18:38:35 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-27 18:38:35 +0200 |
| commit | d8c4d84dc75300c6d4d8b0adceafa33741960b92 (patch) | |
| tree | 00e2dfcc5c836d62fccff76c862e6ec3b0a74db8 /libs/cpp-httplib/example/uploader.sh | |
| parent | fa088bb60692ba02d30d39affa9a31d9e2b688e2 (diff) | |
added http lib, working on AI invoice importing
Diffstat (limited to 'libs/cpp-httplib/example/uploader.sh')
| -rw-r--r-- | libs/cpp-httplib/example/uploader.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/cpp-httplib/example/uploader.sh b/libs/cpp-httplib/example/uploader.sh new file mode 100644 index 0000000..4382ae6 --- /dev/null +++ b/libs/cpp-httplib/example/uploader.sh @@ -0,0 +1,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 |
