Skip to content

Commit aad8d89

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

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
@@ -59,9 +59,8 @@ curl -X POST "https://localhost:8181/api/v3/query_sql" \
5959

6060
```bash
6161
curl -X POST "https://localhost:8181/api/v3/query_sql" \
62-
-H "Authorization: Bearer 00xoXX0xXXx0000XxxxXx0Xx0xx0" \
63-
-H "Content-Type: application/json" \
64-
-d '{
62+
--header "Authorization: Bearer 00xoXX0xXXx0000XxxxXx0Xx0xx0" \
63+
--json '{
6564
"db": "example-db",
6665
"q": "SELECT room, temp FROM last_cache('\''home'\'', '\''homeCache'\'') WHERE room = '\''Kitchen'\''",
6766
"format": "json"

0 commit comments

Comments
 (0)