Couchbase Server 4.0


#1

What is wrong with my simple test:

curl -v http://localhost:8093/query/service -d “statement=SELECT name FROM beer-sample”

Result errors "syntax error - at - "


#2

You’re missing the backticks (`) :

curl .. -d 'statement=SELECT name FROM `beer-sample`'