Skip to content

Commit 0384cad

Browse files
MeelahMejstirnaman
andauthored
Update content/shared/influxdb3-admin/distinct-value-cache/query.md
Co-authored-by: Jason Stirnaman <[email protected]>
1 parent 866ee9b commit 0384cad

File tree

1 file changed

+2
-3
lines changed
  • content/shared/influxdb3-admin/distinct-value-cache

1 file changed

+2
-3
lines changed

content/shared/influxdb3-admin/distinct-value-cache/query.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ To use the HTTP API to query cached data, send a `GET` or `POST` request to the
4444

4545
```bash
4646
curl -X POST "https://localhost:8181/api/v3/query_sql" \
47-
-H "Authorization: Bearer AUTH_TOKEN" \
48-
-H "Content-Type: application/json" \
49-
-d '{
47+
--header "Authorization: Bearer AUTH_TOKEN" \
48+
--json '{
5049
"db": "DATABASE_NAME",
5150
"q": "SELECT * FROM distinct_cache('\''TABLE_NAME'\'', '\''CACHE_NAME'\'')",
5251
"format": "json"

0 commit comments

Comments
 (0)