JavaScript Client

Muhammad Yousaf muhammad.yousaf at
Wed Mar 30 09:00:18 EDT 2011

I have added riak.js ,json2.js, jquery-1.5.js in to my bucket in riak now i dont know how can i query my bucket using javascript client ?

I want to fetch my values from my bucket how to do that ?
I want to do map/reduce to my bucket where can i submit my command using javascript client?

using erlang client i can do anything but how to do with javascript client?

Muhammad Yousaf

Subject: Re: JavaScript Client
From: sean at
Date: Wed, 30 Mar 2011 08:45:49 -0400
CC: riak-users at
To: muhammad.yousaf at

To upload the JS client into Riak, use curl like so (and you can do the same with any other files, adjusting the content-type appropriately):
curl -H "Content-Type: text/javascript" --data-binary @riak.js http://localhost:8098/riak/js/riak.js
Is this what you're trying to do?

Sean Cribbs <sean at>Developer AdvocateBasho Technologies, Inc.

On Mar 30, 2011, at 8:00 AM, Muhammad Yousaf wrote:
How can i get my values from bucket by dropping .js files in my bucket? any example please 

Muhammad Yousaf

riak-users mailing list
riak-users at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list