Jonathonmcmurray ReQ Versions Save

HTTP requests library in kdb+/q

0.1.6

2 years ago
  • Addition of .req.p wrapper for POST requests e.g.
q).req.p["https://httpbin.org/post";`json;`a`b!1 2]
args   | (`symbol$())!()
data   | "{\"a\":1,\"b\":2}"
files  | (`symbol$())!()
form   | (`symbol$())!()
headers| `Accept`Accept-Encoding`Content-Length`Content-Type`Host`User-Agent`..
json   | `a`b!1 2f
origin | "86.14.96.16"
url    | "https://httpbin.org/post"

0.1.5

3 years ago
  • Parse URLs without forward slash before query

0.1.4

3 years ago
  • Improve verbose output
  • Cache authentication credentials
  • Read login credentials from ~/.netrc if present
  • Ignore case in HTTP response headers
  • Decompress before displaying in verbose mode, if applicable
  • Make default behaviours more configurable

0.1.3

4 years ago

Various restructuring & reordering of code, along with new release system of standlone .q file & qutil .tar.gz attached to GitHub release, in addition to updated package being made available via Anaconda

0.1.2

5 years ago

Fix bug with cookie tailmatching

0.1.1

5 years ago

Add qutil init.q

0.1.0

5 years ago

First official release of reQ

Features include:

  • Support for custom headers
  • Cookies
  • Automatic conversion of JSON response to kdb+ object
  • Backwards compatible with older versions of kdb+ - tested from v2.8+
  • Follows HTTP redirection
  • Verbose mode to show raw requests & responses

More details on documentation website: http://jmcmurray.co.uk/reQ/