web3 reference manual
web3_wget
web3 wget wrapper for http operations
accessibility
|
---|
language | file or cmd
|
---|
awk | N/A
| shell | web3_http.sh
| CLI | N/A
|
|
arguments
|
---|
# | name
|
---|
1 | url
| 2 | post_data
| 3 | post_file
|
|
Description
Retrieves adocument using wget. If either post_data or post_file
is not empty, use http post instead of get. If post_data is specified,
it is assumed to be already url-encoded. Alternatively post_file may
be specified to contain a file name of the raw data to be posted, in this
case post_data should be a single dash ("-"). Cookies are saved and
reused from the cookie file described in environmental variable $cookie.
Furthermore the fllowing optional environmental variables are used:
$wgetopts - passed to wget without modification
$myuser - username for http auth (may be empty)
$mypassword - password for http auth (may be empty)
$verbose - integer that controls how many status/debug messages are printed on stderr (0 means quiet operation)
Resulting document appears on stdout.
See also
(list of all calls)