From 1427304796e5a88c097a7a5df028496da132addf Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Fri, 16 Sep 2022 11:02:31 +0800 Subject: [PATCH] docs: use cloud url instead of fqdn --- docs/en/15-programming/01-connect/09-rest-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/15-programming/01-connect/09-rest-api.md b/docs/en/15-programming/01-connect/09-rest-api.md index 36b847164b..97e0e7a938 100644 --- a/docs/en/15-programming/01-connect/09-rest-api.md +++ b/docs/en/15-programming/01-connect/09-rest-api.md @@ -54,7 +54,7 @@ curl -L \ ### InfluxDB Line Protocol -You can use any client that supports the http protocol to access the RESTful interface address `http://:6041/influxdb/v1/write` to write data in InfluxDB compatible format to TDengine. The EndPoint is as follows: +You can use any client that supports the http protocol to access the RESTful interface address `${TDENGINE_CLOUD_URL}/influxdb/v1/write` to write data in InfluxDB compatible format to TDengine. The EndPoint is as follows: ```text /influxdb/v1/write?db=&token=${TDENGINE_CLOUD_TOKEN} @@ -69,7 +69,7 @@ Note: InfluxDB token authorization is not supported at present. Only Basic autho ### OpenTSDB Json and Telnet Protocol -You can use any client that supports the http protocol to access the RESTful interface address `http://:6041/opentsdb/v1/put` to write data in OpenTSDB compatible format to TDengine. The EndPoint is as follows: +You can use any client that supports the http protocol to access the RESTful interface address `${TDENGINE_CLOUD_URL}/opentsdb/v1/put` to write data in OpenTSDB compatible format to TDengine. The EndPoint is as follows: ```text /opentsdb/v1/put/json/?token=${TDENGINE_CLOUD_TOKEN} -- GitLab