From d7c30d7d1f2437a4c74656be6c112d6caf745315 Mon Sep 17 00:00:00 2001 From: Simon Shanks Date: Wed, 22 May 2024 13:04:04 +0100 Subject: [PATCH 1/4] .Q.hp and .Q.hg response is a string --- docs/ref/dotq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/dotq.md b/docs/ref/dotq.md index 969ec2af0..a30c8482d 100644 --- a/docs/ref/dotq.md +++ b/docs/ref/dotq.md @@ -1003,7 +1003,7 @@ Saves all tables by calling `.Q.dpft`, clears tables, and sends reload message t .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. +Where `x` is a URL as a symbol atom or (since V3.6 2018.02.10) a string, returns a string for for the result of an HTTP[S] GET query. (Since V3.4) ```q @@ -1081,7 +1081,7 @@ Where - `y` is a MIME type as a string - `z` is the POST query as a string -returns as a list of strings the result of an HTTP[S] POST query. +returns a string for the result of an HTTP[S] POST query. (Since V3.4) ```q From b54513c2c1ebae6f484d67a7e02be4b711ec7799 Mon Sep 17 00:00:00 2001 From: Simon Shanks <59612559+sshanks-kx@users.noreply.github.com> Date: Fri, 24 May 2024 15:36:02 +0100 Subject: [PATCH 2/4] Mention proxy usage for .Q.hp --- docs/ref/dotq.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/ref/dotq.md b/docs/ref/dotq.md index a30c8482d..f265ddd8c 100644 --- a/docs/ref/dotq.md +++ b/docs/ref/dotq.md @@ -1081,9 +1081,11 @@ Where - `y` is a MIME type as a string - `z` is the POST query as a string -returns a string for the result of an HTTP[S] POST query. +Returns a string for the result of an HTTP[S] POST query. (Since V3.4) +Will utilize proxy settings if defined, as described in [hg (HTTP get)](#hp-http-get) + ```q q).Q.hp["http://google.com";.h.ty`json]"my question" "\n\n \n Date: Tue, 28 May 2024 14:02:01 +0100 Subject: [PATCH 3/4] Update docs/ref/dotq.md --- docs/ref/dotq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/dotq.md b/docs/ref/dotq.md index f265ddd8c..5330232b8 100644 --- a/docs/ref/dotq.md +++ b/docs/ref/dotq.md @@ -1003,7 +1003,7 @@ Saves all tables by calling `.Q.dpft`, clears tables, and sends reload message t .Q.hg x ``` -Where `x` is a URL as a symbol atom or (since V3.6 2018.02.10) a string, returns a string for for the result of an HTTP[S] GET query. +Where `x` is a URL as a symbol atom or (since V3.6 2018.02.10) a string, returns a string for the result of an HTTP[S] GET query. (Since V3.4) ```q From 182ca38fcf56d7389c996c6b538fb75ca8c5b4ff Mon Sep 17 00:00:00 2001 From: JosieMD <114172432+JosieMD@users.noreply.github.com> Date: Tue, 28 May 2024 14:02:10 +0100 Subject: [PATCH 4/4] Update docs/ref/dotq.md --- docs/ref/dotq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/dotq.md b/docs/ref/dotq.md index 5330232b8..6bc88bcf4 100644 --- a/docs/ref/dotq.md +++ b/docs/ref/dotq.md @@ -1084,7 +1084,7 @@ Where Returns a string for the result of an HTTP[S] POST query. (Since V3.4) -Will utilize proxy settings if defined, as described in [hg (HTTP get)](#hp-http-get) +Uses proxy settings if defined, as described in [hg (HTTP get)](#hp-http-get). ```q q).Q.hp["http://google.com";.h.ty`json]"my question"