On Fri, Dec 30, 2011 at 1:10 PM, Jordan Schatz <[email protected]> wrote: > Thank you Mark : ) > > BTW >> > Set bucket: >> > curl -v -X PUT -H "Content-Type: application/json" -d \ >> > '{"props":{"n_val":5}}' http://127.0.0.1:8098/buckets/test >> > >> >> curl -v -d 'this is a test' -H "Content-Type: text/plain" \ >> http://127.0.0.1:8098/buckets/test/keys > > This is needed instead: > curl -v -X PUT -H "Content-Type: application/json" -d \ > '{"props":{"n_val":5}}' http://127.0.0.1:8098/buckets/test/props >
Of course. Just augmented the wiki PR accordingly. Thanks. https://github.com/basho/riak_wiki/pull/237 >> Also, quite excited to see lisp bindings. :) > I noticed yesterday that you guys already list the bindings I made (and > am updating): > http://wiki.basho.com/Community-Developed-Libraries-and-Projects.html > Mine are the Racket (which is a lisp dialect) ones. Excellent. Still excited regardless. Mark > Thanks, > Jordan > > > On Fri, Dec 30, 2011 at 12:41:50PM -0500, Mark Phillips wrote: >> Hi Jordan, >> >> On Wed, Dec 28, 2011 at 12:51 PM, Jordan Schatz <[email protected]> wrote: >> > >> > I am working on bindings for the HTTP API for lisp, the docs list new and >> > old URLs for requests, but it appears that not all of the new URLs are >> > implemented yet? I am using 1.0.2 is there a planned release number for >> > supporting all of the new URL formats? >> > >> >> Looks like you've caught an error in the wiki. The new URL formats are >> supported, but we neglected to provide the full URL in the docs. You >> are missing a "/keys" from the end of those URLs. The URLs in line >> below should work for you. >> >> I'll push a fix to the wiki today if I have a few minutes. Sorry for >> the confusion. Also, quite excited to see lisp bindings. :) >> >> Mark >> >> > These don't seem to be working with the new URL format: >> > >> > Get bucket: >> > curl -v http://127.0.0.1:8098/buckets/test >> > >> >> curl -v http://127.0.0.1:8098/buckets/test/keys >> >> > Set bucket: >> > curl -v -X PUT -H "Content-Type: application/json" -d \ >> > '{"props":{"n_val":5}}' http://127.0.0.1:8098/buckets/test >> > >> >> curl -v -d 'this is a test' -H "Content-Type: text/plain" \ >> http://127.0.0.1:8098/buckets/test/keys >> >> >> > Store object: >> > curl -v -d 'this is a test' -H "Content-Type: text/plain" \ >> > http://127.0.0.1:8098/buckets/test >> > >> >> curl -v -d 'this is a test' -H "Content-Type: text/plain" \ >> http://127.0.0.1:8098/buckets/test/keys _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
