projects
/
simple-upload.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c83063a
)
:memo: Added cURL example
author
Aleks
<muchweb@users.noreply.github.com>
Mon, 22 Sep 2014 09:28:20 +0000
(10:28 +0100)
committer
Aleks
<muchweb@users.noreply.github.com>
Mon, 22 Sep 2014 09:28:20 +0000
(10:28 +0100)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index 31c5fa737e6eb99571cbf6aec321f31099622f3d..6fbef7545c3420778373db172f884e18405715b7 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-25,3
+25,9
@@
There are few options that you can change by editing the file itself:
- HTML5 Drag'and'Drop (via dropzone.js)
- No Javascript HTML Form fallback
- Upload using any compatible tool (like cURL)
+
+ This example will upload a file and copy URL to clipboard:
+
+ ```bash
+ curl -F "file=@$(pwd)/file.jpg" http://yoir-host/sharing/ > xclip -sel clip
+ ```