forked from seba/servefile
Corrected curl manpage example error
This commit is contained in:
parent
4567570962
commit
4a9cae2731
|
@ -101,8 +101,8 @@ servefile \-u dir/
|
||||||
.PP
|
.PP
|
||||||
Uploading file foo as bar to servefile via command line:
|
Uploading file foo as bar to servefile via command line:
|
||||||
.PP
|
.PP
|
||||||
curl \-X PUT http://ip:port/bar \-d @foo
|
curl \-X PUT http://ip:port/bar \-\-data-binary @foo
|
||||||
curl \-X POST http://ip:port/bar \-d @foo
|
curl \-X POST http://ip:port/bar \-\-data-binary @foo
|
||||||
wget http://ip:port/bar \-\-post-file=foo
|
wget http://ip:port/bar \-\-post-file=foo
|
||||||
.PP
|
.PP
|
||||||
Serving a on the fly generated tar.gz file of a directory:
|
Serving a on the fly generated tar.gz file of a directory:
|
||||||
|
|
Loading…
Reference in New Issue