关于 SequoiaDB
快速入门
安装
基本操作
数据模型
SQL引擎
S3引擎
系统架构
数据库管理
连接器
驱动
参考手册
故障排除
SAC 管控中心
Web服务
版本信息
协调节点(coord)和数据节点(data)对外提供REST接口访问,同时支持HTTP和HTTPS协议。
字段 | 说明 | 例子 |
---|---|---|
Content-Type | 请求的数据类型 | application/x-www-form-urlencoded;charset=UTF-8 |
Content-Length | 请求的长度 | 54 |
Host | 主机名(协调节点或数据节点的服务地址) | 192.168.1.214:11814 |
Accept | 希望应答的数据类型,如果不指定该字段,默认响应 text/html (文本格式)的数据类型 | application/json |
POST / HTTP/1.0 Content-Type: application/x-www-form-urlencoded;charset=UTF-8 Accept: application/json Content-Length: 54 Host: 192.168.1.214:11814
字段 | 说明 | 例子 |
---|---|---|
Content-Type | 响应内容的类型,如果请求 Accept 为 application/json, 应答 Content-Type 为 application/json,否则应答 Content-Type 为 text/html |
application/json |
Content-Length | 响应内容的长度 | 35 |
HTTP/1.1 200 Ok Content-Length: 35 Content-Type: application/json