Oops, when posting made the mistake. sample url goes like 
- http://10.10.10.131:8080/testdb/_design/employee/_view/by_username

just to explain a bit on what Im trying to accomplish.  

There's a webapp that uses couchDB running on a pc, and i want to have the 
couchdb running on an ios device, so that the webapp can be ported to run 
on ios. 

Currently the replication process works fine and through the CBL listener I 
can perform basic operations like-
http://10.10.10.131:8080/testdb/all_docs?group=true&startkey="_design"&endkey="_design0";
http://10.10.10.131:8080/testdb/_changes etc.

but the moment I try to access a design/view, it says 501 unimplemented. 

Has anyone accessed design/view with couchbase lite through the cbl 
listener ?

-

On Monday, October 20, 2014 2:24:27 PM UTC+5:30, pasan mabotuwana wrote:
>
> I setup CBL lite and I can query (REST) the db to get for eg to get all 
> documents by doing (localhost:port/dbName/_all_docs).
>
> The question is when I try to query views for eg 
> localhost:port/*_design/employee/_view/by_username 
> *I get the following 
>
> *{"status":501,"error":"unimplemented"}*
>
>
> Can anyone help out to access views though a rest call
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/56dfd1da-5523-4659-916a-c17e04bbbce6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to