我看到API文档中,写了通过http API可以访问自带的数据源
那External MySQL 还有External PostgreSQL能否通过http API 访问
POST /api/examples:create HTTP/1.1
Host: localhost:13000
X-Data-Source: dataSourceKey
Content-Type: application/json
Content-Length: 54
[
{ "username": "u1" },
{ "username": "u2" }
]
关键是 X-Data-Source: dataSourceKey
1 Like