//list all buckets
curl -i riak1.barney.com:8098/buckets?buckets=true
//putting/storing JSON in riak
curl -v -XPUT riak1.barney.com:8098/buckets/my_bucket/keys/my_test?returnbody=true \
-H "Content-Type: application/json" \
-d '{"TestName":"Monday test"}'
//listing keys in bucket
curl -i riak1.barney.com:8098/buckets/my_bucket/keys?keys=true
//fetch a key
curl -v riak1.barney.com:8098/buckets/my_bucket/keys/my_test
http://docs.basho.com/riak/latest/dev/using/basics/
[ view entry ] ( 1550 views ) | print article
<<First <Back | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Next> Last>>