From 5179cd2f57a4dfc723c227269bb0f794498726c1 Mon Sep 17 00:00:00 2001 From: kelseiv <47797004+kelseiv@users.noreply.github.com> Date: Wed, 1 Jun 2022 14:31:37 -0700 Subject: [PATCH] updated query example for executing influxql (#4071) --- content/influxdb/v2.2/reference/api/influxdb-1x/query.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/influxdb/v2.2/reference/api/influxdb-1x/query.md b/content/influxdb/v2.2/reference/api/influxdb-1x/query.md index a3b294be0..068813c44 100644 --- a/content/influxdb/v2.2/reference/api/influxdb-1x/query.md +++ b/content/influxdb/v2.2/reference/api/influxdb-1x/query.md @@ -165,8 +165,8 @@ curl --get http://localhost:8086/query \ curl --get http://localhost:8086/query \ --header "Authorization: Token INFLUX_API_TOKEN" \ --data-urlencode "db=mydb" \ - --form "q=@path/to/influxql.txt" \ - --form "async=true" + --data-urlencode "q@path/to/influxql.txt" \ + --data-urlencode "async=true" ``` Replace the following: