Fixed curl docs. Closes #92

This commit is contained in:
Martin Mahner 2017-06-05 20:31:45 +02:00
parent 4ae6e0aaa6
commit 6caa5bff48

View file

@ -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