Add attachment using JAVA SDK


#1

Hi,

I learned about uploading Json document.

I want to upload a pdf/png/jpeg file. How do we do that?

I cannot fine and API for the same. The attachmenthttps://developer.couchbase.com/documentation/mobile/current/guides/couchbase-lite/native-api/attachment/index.html option I can find in mobile development


#2

Attachments can only be uploaded by using Sync gateway or Couchbase lite. No support on server side as far as I know.