Attach picture in couchbase sync gateway

Good day!

I have a web app and I want to upload picture in my sync gateway and I dont have any idea how to do it. Any help will be appreciated. Thanks

@arvielozada the Node.js SDK is used for programming against Couchbase Server. If you want to use Node with Sync Gateway, you can either use PouchDB or make your own ReST calls.

For questions about Sync Gateway, please use the Mobile category in the future.


Hi Hod. Thanks for the reply … I know that I have to use REST API. but can I have an example of using an REST API using nodejs?