From 77b5eeca97672b2adbefe22902c7e11a5ec83ce7 Mon Sep 17 00:00:00 2001 From: Philip O'Toole Date: Sun, 31 Jan 2021 20:58:10 -0500 Subject: [PATCH] Update DATA_API.md --- DOC/DATA_API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOC/DATA_API.md b/DOC/DATA_API.md index 80872f6d..095cb9c8 100644 --- a/DOC/DATA_API.md +++ b/DOC/DATA_API.md @@ -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`: