]> git.mxchange.org Git - simple-upload.git/commitdiff
:memo: Added cURL example
authorAleks <muchweb@users.noreply.github.com>
Mon, 22 Sep 2014 09:28:20 +0000 (10:28 +0100)
committerAleks <muchweb@users.noreply.github.com>
Mon, 22 Sep 2014 09:28:20 +0000 (10:28 +0100)
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
+       ```