How to read records from couchdb view

Hello, @Kfir_Peled

I could not make my couchdb work with api NoSQL. My solution was to set up the CouchDB in a webservice. Thus, the available resource are precisely what CouchDB offers natively via Rest API. The advantage is that with DF you can restrict the service to a role and use the user’s session without exposing directly to Rest native API of your CouchDB.

1 - Create service type Webservice to connect native CouchDB Rest API

2 - Configure CouchDB HTTP dsn in created Webservice

3 - Example of use with views and filters

Links:

Apache CouchDB Querying Options DOC: https://goo.gl/4DJTTk
DF2 API Common Headers & Parameters : http://goo.gl/tPlnW9
Postman (my API rest client tool used in this example): https://www.getpostman.com

I apologize if I was confused in my first response

Best regards.

1 Like