1
0
Fork 0

Update DATA_API.md

master
Philip O'Toole 4 years ago committed by GitHub
parent 429758b4e3
commit 77b5eeca97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,7 +44,7 @@ The response is of the form:
The use of the URL param `pretty` is optional, and results in pretty-printed JSON responses. Time is measured in seconds. If you do not want timings, do not pass `timings` as a URL parameter.
## Querying Data
Querying data is easy. The most important thing to know is that, by default, queries must go through the leader node.
Querying data is easy. The most important thing to know is that, by default, queries must be sent to the leader node.
For a single query simply perform a HTTP GET on the `/query` endpoint, setting the query statement as the query parameter `q`:

Loading…
Cancel
Save