【发布时间】:2017-09-10 12:18:34
【问题描述】:
我正在使用 Couchbase 4.0 社区版并尝试在我的 couchbase 服务器中执行简单的 N1QL 操作, 使用这些 GET 请求:
简单的“select 1”声明:
http://localhost:8093/query?statement=SELECT%201
与
http://localhost:8093/query?statement=SELECT%20*%20FROM%20cache
(其中cache 是我的存储桶名称)
对于我发送的任何请求,我都会收到以下错误:
{
"requestID": "30096327-05eb-4282-b170-7601f6118aac",
"errors": [
{
"code": 1120,
"msg": "Unsupported media type: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
}
],
"status": "fatal",
"metrics": {
"elapsedTime": "0",
"executionTime": "0",
"resultCount": 0,
"resultSize": 0,
"errorCount": 1
}
}
可能是什么问题?
【问题讨论】: