cancel
Showing results for 
Search instead for 
Did you mean: 

Re: [personal kdb+] HTTPS query from q

felix1
New Contributor
use stunel for https

2 REPLIES 2

felix1
New Contributor
well, i was rushing with stunnel. this is useful to provide https access to a kdb server.

to get something over https use curl:
q)v:system"curl -s https://gmail.com"
q)v
"<HTML><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">"
"<TITLE>301 Moved</TITLE></HEAD><BODY>"
"<H1>301 Moved</H1>"
"The document has moved"
"<A HREF=\"https://mail.google.com/mail/\">here</A>."
"</BODY></HTML>"
q)


Oleg_Finkelshte
New Contributor
We recently released http://kx.com/q/c/c/curl.c -- a sample q binding to libcurl -- which could be useful in this case.

Please tell us how it works for you.

Thanks