web3 reference manual

web3_wget


web3 wget wrapper for http operations
accessibility
languagefile or cmd
awkN/A
shellweb3_http.sh
CLIN/A
arguments
#name
1url
2post_data
3post_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)