Couchbase : How to access and change the document of size more than 2.5Kb.

Table of contents
Reading Time: < 1 minute

We faced a situation were we have to firstly see the data and then change it accordingly in couchbase, but the GUI of couchbase doesn’t allows us to see the data of size more than 2.5kb and forget about changing,

Screenshot from 2015-08-07 12:36:16

So there is a quick hack of how you can actually change the data without using the GUI and just by making a curl request:

If you want to see the data :

Just make this CURL request


And you’ll get a response like this :

And inside the field json you’ get your required Json,

You can easily do this just by seeing developer console.. 😉

Now the big task i.e. If you want to change the data

So for that firstly retrieve the data from above request make changes, and then make a POST request to the same url with the new Json. It will get updated.


And it will automatically update the required document.