REST API or SDK?


#1

There is conflicting documentation regarding which method to use for reading/writing data. One says do not use the REST API to read or write data and to use the SDK. And another says to use the REST API to build your own SDK.

What? Can someone clear this up, please? Thanks!


#2

Hi notm84 -

Unless you want to create your own SDK, you most definitely want to use one of the existing SDK’s (Java, .NET, Ruby, Node.js, etc) instead of using the REST API’s directly.

The documentation exists to help library developers create clients for platforms/languages not currently supported or do not have an official SDK.

Thanks,

Jeff


#3

Also, please note, I have not seen any SDK for the Sync Gateway REST API.

We are still forced to target the REST API there.