.Q.hg x
Where x is a URL as a symbol atom or (since V3.6 2018.02.10) a string, returns as a list of strings the
result of an HTTP[S] GET query.
(Since V3.4)
q).Q.hg`:http://www.google.com
q)count a:.Q.hg`:http:///www.google.com
212
q)show a
"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>4..
q).Q.hg ":http://username:password@www.google.com"
If you have configured SSL/TLS, HTTPS can also be used.
q).Q.hg ":https://www.google.com"
.Q.hg will utilize proxy settings from the environment, lower-case versions taking precedence:
| environment variable | use |
|---|---|
http_proxy, HTTP_PROXY |
The URL of the HTTP proxy to use |
no_proxy, NO_PROXY |
Comma-separated list of domains for which to disable use of proxy |
N.B. HTTPS is not supported across proxies which require CONNECT.