Fetch Method

Fetch(server As string, uri As string, body As string, timeout As long) As string

string Fetch(string server, string uri, string body, long timeout);

Parameters

name type description
server string The name of the server.
uri string The document to retrieve, including any get parameters. For example /default.html or /page.asp?name=value.
body string (optional) The body for POST requests.
timeout long (optional)The timeout period in seconds.

Description

Connects to the server, sends the request and then returns the response as a string.

If a body is specified, the request will be a POST request, otherwise a GET request will be sent.

Object

HTTPFetcher



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.