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

Reply via email to