Document update via REST/http?
Thu, 04/12/2012 - 08:46
Hi,
Looking for the syntax for doing a record/document update via REST. I'm to understand that all the functionality in couchBase Console is via REST, so I expect there is a way to do this since I can update records from the console. I also can "get" data with something like this:
http://[ip]:8091/couchBase/ws_cdr/44e7655f-7be5-4426-a96b-7608980b9a05, the last being the key.
I just can't find the url sytax to create or update (understanding I'd have to be sending a pretty long JSON string, etc). Is this possible? What's it look like?
TIA!
At the moment, there's not a supported way to do this. We are looking at adding something like this very soon.
That said, the preferred method would be using one of the client libraries. Is there something preventing you from doing that?