util_httppost (public, deprecated)

 util_httppost url formvars [ timeout ] [ depth ] [ http_referer ]

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Returns the result of POSTing to another Web server or -1 if there is an error or timeout. formvars should be in the form \"arg1=value1&arg2=value2\".

post is encoded as application/x-www-form-urlencoded. See util_http_file_upload for file uploads via post (encoded multipart/form-data).

Parameters:
url (required)
formvars (required)
timeout (optional, defaults to "30")
depth (optional, defaults to "0")
http_referer (optional)
See Also:

Testcases:
No testcase defined.
[ show source ]
Show another procedure: