Hey Jens, I was using DELETE method because it was indicated in the rest api.
The way you just mentioned is way simpler, I just tried it out and worked like a charm, doesn't seem to have problems. Thanks! Jason On Monday, August 18, 2014 10:40:23 PM UTC-4, Jens Alfke wrote: > > I don't think we ever implemented the DELETE method for attachments. > > Instead just GET the document, remove the attachment metadata from the > _attachments property, and PUT it back. > > —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/dd23467b-cb3e-4784-a2a8-93cdd7cfe62e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
