REST API to put document into bucket, couchbase 3.0


With couchbase 2.5 we were able to use REST API in order to put document into bucket.

It seems not work in couchbase 3.0.

-XPUT http://URL:8092/bucket/doc_id for example.

I can I do without to use PHP SDK ?

Thank you.

While that may have worked, it wasn’t documented or intended as an API feature. Can you use the SDK to do this instead?

Also, if you’re looking for a command line way to insert a document into a bucket, have a look at the cbc utilities which are part of libcouchbase.