mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Fixed curl docs. Closes #92
This commit is contained in:
parent
4ae6e0aaa6
commit
6caa5bff48
1 changed files with 1 additions and 1 deletions
|
@ -123,6 +123,6 @@ A sample Python 2 script to publish snippets::
|
||||||
|
|
||||||
You can simply use curl to publish a whole file::
|
You can simply use curl to publish a whole file::
|
||||||
|
|
||||||
$ alias dpaste="curl -F 'content=<-' https://dpaste.de/api/?format=url"
|
$ alias dpaste="curl -F 'format=url' -F 'content=<-' https://dpaste.de/api/"
|
||||||
$ cat foo.txt | dpaste
|
$ cat foo.txt | dpaste
|
||||||
https://dpaste.de/ke2pB
|
https://dpaste.de/ke2pB
|
||||||
|
|
Loading…
Reference in a new issue