Creating a GET request for a JSON to KDB table? Creating a GET request for a JSON to KDB table? json json

Creating a GET request for a JSON to KDB table?


I have included below a code snippet which will grab and parse JSON from the link you provided.

q).j.k .Q.hg`:https://jsonplaceholder.typicode.com/todos/1userId   | 1fid       | 1ftitle    | "delectus aut autem"completed| 0b

This code uses .Q.hg which takes a URL as an argument, runs a Get query, and returns the response as a string. .j.k then takes this string then converts it into a K object.

Also the timestored article you linked was published before .Q.hg was added the the Dot Q Namespace. .Q.hg allows you to run HTTP requests more easily.