TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

[code:1010]使用RESTful远程链接时遇到的问题

Open lmastercn opened this issue 7 years ago • 1 comments

服务器:ubuntu 18.04 安装官网上提供的安装包 taos-1.6.2.1-linux-2019-09-23-09-31.tar.gz (3.0M)

在服务器上使用 curl -H 'Authorization: Basic XXXXXXXX' -d 'SHOW USERS' 公网ip地址:6020/rest/sql 成功返回数据

在postman上遇到问题 image

image

服务器配置 internalIp 也修改成公网ip地址

lmastercn avatar Sep 24 '19 01:09 lmastercn

这个问题解决,是postman的原因,已经可以远程操作数据,我用php curl post raw方式实现的

lmastercn avatar Sep 24 '19 03:09 lmastercn