hTTPGet

Net.hTTPGet(url, [timeout])

Parameters

url URL to send HTTP Get request to.
timeout (optional) Timeout in milliseconds.

Returns

HTTP contents from the provided URL as a string.

Description

Sends an HTTP Get request to url. If timeout is specified the request will timeout after timeout milliseconds. Suspends script execution until the request completes, or the request times out.