?"HTTPS get request in kdb+"

Hi,

Is there in-built support for HTTPS get requests in kdb+? 

I understand there is support for HTTP get requests via opening a handle and sending a get request as documented here. But this doesn’t work for HTTPS requests, since the request is not sent via a ssl/tls tunnel, and ends up giving a 301 status code (wikipedia: “301 redirect is considered a best practice for upgrading users from HTTP to HTTPS”)

One way of doing this is installing/configuring curl+openssl and then making curl requests via kdb+. Is there a more “elegant” way of doing this? (I am building a cross-platform library that makes HTTPS requests to get some data into kdb+)

Cheers!

No, not builtin, but easy to extend through curl lib

http://kx.com/q/c/c/curl.c

https://github.com/bitmx/btceQ

or as you say, you can system"curl …"

Or just use stunnel or ssh as encryption proxy.

Pe 12 mar. 2016 10:03, “Charles Skelton” <charlie@kx.com> a scris:

No, not builtin, but easy to extend through curl lib

http://kx.com/q/c/c/curl.c

https://github.com/bitmx/btceQ

or as you say, you can system"curl …"