Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.0.2, 6.5.1
-
DOC-2020-S11-Jun14
-
1
Description
The example
$ curl -u Administrator:password -d 'SELECT "Hello, beer!" AS greeting' http://localhost:8095/analytics/service
|
on
https://docs.couchbase.com/server/6.0/analytics/run-query.html
and
https://docs.couchbase.com/server/6.5/analytics/run-query.html
is not supported by the Analytics REST API as the statement parameter is not provided.
It needs to be replaced with
$ curl -u Administrator:password -d 'statement=SELECT "Hello, beer!" AS greeting' http://localhost:8095/analytics/service
|