From 4aa4731effd121f972a4cb4e67db150809812722 Mon Sep 17 00:00:00 2001 From: Akilan Date: Tue, 4 Oct 2022 00:22:00 +0400 Subject: [PATCH] added curl request sample to the webpage as well --- templates/upload.html | 2 ++ templates/upload2.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/templates/upload.html b/templates/upload.html index 7947e3f..2924044 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -15,6 +15,8 @@
+

or

+
curl http://localhost:8080/uploadCurl -F add=@<file name>
{{ if .hash }} diff --git a/templates/upload2.html b/templates/upload2.html index aead350..a9437e3 100644 --- a/templates/upload2.html +++ b/templates/upload2.html @@ -35,6 +35,8 @@

hash: {{ .hash }}

{{end}} --> +

or

+

curl http://localhost:8080/uploadCurl -F add=@<file name>