-
Building REST API KDB – Issues setting up SSL-TLS
Hi Community,
I am trying to create a REST API that would have 2 method(get and post), and It would be initially an empty table tab:([] a:`$(); b:”i”$()) that would be filled out eventually. So I would be using .Q.hg(get) and .Q.hp(post) for it, my endpoint should be looking like it “http://localhost:5000/upsert?a=Google&b=100“so based on what I’ve read I need to open a server instance with this command “$ q -u 1 -E 1 -p 5000” but I am getting this error “‘failed to load TLS certificates”. I followed guidelines for set up this in “https://code.kx.com/q/kb/ssl/“ but I didn’t work. Any help about setting up TLS in windows or linux, or any guidance on the rest api would be appreciated.
Log in to reply.