From ccc1970f6caf21bd37a154fa8bbbd86bf73eefd2 Mon Sep 17 00:00:00 2001 From: q1-silver Date: Mon, 25 Oct 2021 13:13:03 +0300 Subject: [PATCH] add: basic usage example --- example_request.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 example_request.sh diff --git a/example_request.sh b/example_request.sh new file mode 100755 index 0000000..8624f2e --- /dev/null +++ b/example_request.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +while true; do curl --location --request \ +POST 'http://localhost:7878/upload' \ +--form 'file=@/home/.q1/Pictures/Screenshot_20200513_104645.png' \ +-w ' Total: %{time_total}' && printf '\n'; done;