Long Poll ?

How does one make a long poll with couchbase REST API?

Like in couchdb:

curl -X GET $HOST/db/_changes?since=1

Just cannot find in the specifications... or is it not yet implemented?

1 Answer

« Back to question.

Hello,

This REST endpoint does not exist in Couchbase, I think you mix Couchbase and Couchdb that are 2 different products/projects.

You can find more information here: http://www.couchbase.com/couchdb

Regards
Tug
@tgrall

Yes, Tug

I know the sample is from CouchDb, but similar long poll would be quite important also in CouchBase...
would be so easy to query changes with AJAX...

Or is it left for API's to poll periodically the server?

/Ari