diff --git a/LISENCE b/LISENCE new file mode 100644 index 0000000..d9bdfba --- /dev/null +++ b/LISENCE @@ -0,0 +1,3 @@ +Zomato License (v1.0) +You may fork, taste, and remix this code β but donβt serve it without credit. +All bugs come with complimentary fries π. diff --git a/src/index.html b/src/index.html index 61dd842..21467a1 100644 --- a/src/index.html +++ b/src/index.html @@ -2,40 +2,37 @@
-
- You can upload files directly or use curl:
+ Use curl to upload:
+ curl -F file=@"[file]" {{USER_URL}}
+ If key is enabled then a field "key" will be required.
+
+ Make sure the key is the first field in the multipart before any files.
+
+ curl -F "key=[key]" -F file=@"[file]" -F file=@"[file2]" {{USER_URL}}
+
- curl -F file=@"[file]" {{USER_URL}}
-
-
- - If key authentication is enabled, include a "key" field before the file(s): -
- -
- curl -F "key=[key]" -F file=@"[file]" -F file=@"[file2]" {{USER_URL}}
-
-