diff --git a/src/index.html b/src/index.html index d7c6c89..61dd842 100644 --- a/src/index.html +++ b/src/index.html @@ -1,31 +1,110 @@ - -
-
- 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}}
-
-
+ You can upload files directly or use curl:
+
+ 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}}
+
+
+
+
+
+
+
+
+
+