--- sidebar_label: OpenTSDB Telnet Protocol title: Schemaless - OpenTSDB Telnet Protocol description: Insert data in OpenTSDB Telnet Protocol --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; In this section we will explain how to write into TDengine cloud service using schemaless OpenTSDB Telnet protocols over REST interface. ## Config Run this command in your terminal to save the TDengine cloud token and URL as variables: ```bash export TDENGINE_CLOUD_TOKEN="" export TDENGINE_CLOUD_URL="" ``` ```bash set TDENGINE_CLOUD_TOKEN="" set TDENGINE_CLOUD_URL="" ``` ```powershell $env:TDENGINE_CLOUD_TOKEN="" $env:TDENGINE_CLOUD_URL="" ``` ### Insert You can use any client that supports the http protocol to access the RESTful interface address `/opentsdb/v1/put` to write data in OpenTSDB compatible format to TDengine. The EndPoint is as follows: ```text /opentsdb/v1/put/telnet/?token= ``` ### Insert Example - curl --request POST http://127.0.0.1:6041/opentsdb/v1/put/telnet/test --user "root:taosdata" --data-binary "sys.if.bytes.out 1479496100 1.3E0 host=web01 interface=eth0" ### Query Example with SQL - select * from `sys.if.bytes.out` where host="web01" and interface="eth0"