system.net.httpGet(url, connectTimeout, readTimeout, username, password, headerValues, bypassCertValidation, useCaches, throwOnError)
String url - The URL to retrieve.
Integer connectTimeout - The timeout for connecting to the URL. In milliseconds. Default is 10,000.
Integer readTimeout - The read timeout for the get operation. In milliseconds. Default is 60,000.
String username - If specified, the call will attempt to authenticate with basic HTTP authentication.
String password - The password used for basic HTTP authentication, if the username parameter is also present.
PyDictionary headerValues - Optional - A dictionary of name/value pairs that will be set in the HTTP header.
Boolean bypassCertValidation - Optional - If the target address is an HTTPS address, and this parameter is True, the system will bypass all SSL certificate validation. This is not recommended, though is sometimes necessary for self-signed certificates.
Boolean useCaches - Optional - Will cache the information returned by the httpGet call. If using this for something that constantly updates like an rss feed, it would be better to set this to False. Default is True.
Boolean throwOnError - Optional - Set to False if you wish to get the error body rather than a Python exception if the GET request returns an error code (non-200 responsive). Default is True.
String - The content found at the given URL.