--- sidebar_label: REST API title: REST API description: Communicate with TDengine Cloud Service through RESTful API --- ## 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="" ``` ## Connect Please copy the code below to your editor and run it. ```bash curl -L \ -d "select name, ntables, status from information_schema.ins_databases;" \ $TDENGINE_CLOUD_URL/rest/sql?token=$TDENGINE_CLOUD_TOKEN ```