# ?"HTTPS get request in kdb+"

**URL:** <https://forum.kx.com/t/https-get-request-in-kdb/10878>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [March 12, 2016, 1:35am UTC](https://forum.kx.com/t/https-get-request-in-kdb/10878 "2016-03-12T01:35:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit1](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Mohit1](https://forum.kx.com/u/Mohit1)\
**Post date:** [March 12, 2016, 1:35am UTC](https://forum.kx.com/t/https-get-request-in-kdb/10878/1 "2016-03-12T01:35:00Z")

</div>

Hi,

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

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!

---

<div class="post-metadata">

**Author:** ![charlie1](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@charlie1](https://forum.kx.com/u/charlie1)\
**Post date:** [March 12, 2016, 8:03am UTC](https://forum.kx.com/t/https-get-request-in-kdb/10878/2 "2016-03-12T08:03:00Z")

</div>

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 …"

---

<div class="post-metadata">

**Author:** ![felix1](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@felix1](https://forum.kx.com/u/felix1)\
**Post date:** [March 13, 2016, 12:47pm UTC](https://forum.kx.com/t/https-get-request-in-kdb/10878/3 "2016-03-13T12:47:00Z")

</div>

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 …"
