File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
content/influxdb3/cloud-serverless/guides/api-compatibility/v1 Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ related:
17
17
- /influxdb3/cloud-serverless/write-data/api/v1-http/
18
18
- /influxdb3/cloud-serverless/reference/api/
19
19
list_code_example : |
20
+ <!-- pytest.mark.skip -->
20
21
```sh
21
22
curl "https://{{< influxdb/host >}}/query" \
22
23
--user "":"API_TOKEN" \
@@ -88,7 +89,7 @@ Encode the `[USERNAME]:DATABASE_TOKEN` credential using base64 encoding, and the
88
89
89
90
The following example shows how to use cURL with the ` Basic ` authentication scheme and a [ token] ( /influxdb3/cloud-serverless/admin/tokens/ ) :
90
91
91
- {{% code-placeholders "BUCKET_NAME |API_TOKEN|RETENTION_POLICY" %}}
92
+ {{% code-placeholders "DATABASE_NAME |API_TOKEN|RETENTION_POLICY" %}}
92
93
``` sh
93
94
# ######################################
94
95
# Use Basic authentication with a database token
@@ -101,6 +102,7 @@ curl "https://{{< influxdb/host >}}/query" \
101
102
--data-urlencode " rp=RETENTION_POLICY" \
102
103
--data-urlencode " q=SELECT * FROM MEASUREMENT"
103
104
```
105
+
104
106
{{% /code-placeholders %}}
105
107
106
108
Replace the following:
@@ -116,7 +118,7 @@ When authenticating requests, {{% product-name %}} checks that the `p` (_passwor
116
118
117
119
##### Syntax
118
120
119
- ``` sh
121
+ ``` http
120
122
https://{{< influxdb/host >}}/query/?u=any&p=API_TOKEN
121
123
https://{{< influxdb/host >}}/write/?u=any&p=API_TOKEN
122
124
```
You can’t perform that action at this time.
0 commit comments