Can't PUT to a Bucket

Mathias Meyer meyer at paperplanes.de
Fri Nov 18 07:39:28 EST 2011


Your URL is pointing to a non-existing endpoint. Change it to http://markson.hk:8098/buckets/test/keys/1234 (http://markson.hk:8098/buckets/test/1234) (note the "keys" URL component before the actual key), and you should be good to go.

Cheers, Mathias
http://nosqlhandbook.com





On Freitag, 18. November 2011 at 13:22, Markson wrote:

> First I'm pretty sure the riak is setting ok by using the command: riak-admin status
> 
> But I can't PUT in into a bucket test:
> curl -v -X PUT -d 'This is really cool' -H "Content-Type: text/plain" http://markson.hk:8098/buckets/test/1234
> 
> < HTTP/1.1 404 Object Not Found
> < Server: MochiWeb/1.1 WebMachine/1.9.0 (participate in the frantic)
> < Date: Fri, 18 Nov 2011 12:13:03 GMT
> < Content-Type: text/html
> < Content-Length: 193
> 
> Does the error due to the new bucket test? Should I create it first?
> 
> 
> Thanks
> 
> 
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com (mailto:riak-users at lists.basho.com)
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com







More information about the riak-users mailing list