From: Aleks Date: Mon, 22 Sep 2014 09:28:20 +0000 (+0100) Subject: :memo: Added cURL example X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d2198e33ee3e5c4caf17fc0e8c6e78a506ca3fb7;p=simple-upload.git :memo: Added cURL example --- diff --git a/README.md b/README.md index 31c5fa7..6fbef75 100644 --- 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 + ```