diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-09-15 07:07:19 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-09-15 07:07:19 +0200 |
commit | 9a02104699897c907670b6b65b4fbe3511e368cb (patch) | |
tree | 2e36ce29734cec49caa8dca5ef7406d03ee92ddc /sys/man/1/hget | |
parent | cc459aa7ab048282b71999bc61f4fb515e052d4a (diff) |
hget -P to read postbody from stdin
Diffstat (limited to 'sys/man/1/hget')
-rw-r--r-- | sys/man/1/hget | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/man/1/hget b/sys/man/1/hget index 9e6a4ed3f..daddb1ac6 100644 --- a/sys/man/1/hget +++ b/sys/man/1/hget @@ -9,6 +9,8 @@ hget \- retrieve a web page corresponding to a url ] [ .B -p .I body +| +.B -P ] [ .B -r .I header @@ -42,10 +44,16 @@ If .I url is of type HTTP and the .B -p -option is specified, then an HTTP POST is performed -with +or +.B -P +options are specified, then a HTTP POST is performed. +With +.B -p +the data to be posted is provided by the .I body -as the data to be posted. +argument as a string or alternatively with +.B -P +read from standard input. .PP The .B -o |