Couchbase Server 4.0

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 - "

You’re missing the backticks (`) :

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