You are mixing two different things here.
1. Couchbase Lite - Embedded database similar idea to SQLite - just document - key/value database.
2. Couchbase server - Fully fledged enterprise noSQL\KV\Document database.
You actually have two approaches:
When you are using Couchbase Lite as your mobile app you may need Sync gateway in order to talk back to the couchbase server.
The Sync gateway deals with the online updates of your data, while couchbase Lite acts as an offline - online repository of your data.
That is the preferred way - as you have the greatest support for you app.
When using only Couchbase server - you can use an SDK to create your calls - or use some REST API available in the REST service - such as views.
http://docs.couchbase.com/admin/admin/rest-intro.html
Thanks,
Roi
https, which would mean you need to add an exception to your info.plist for App Transport Security if you are running on iOS 9. - Mr Beardsley