How to write a record with no key

Dan Reverri dan at basho.com
Tue Jan 24 10:22:47 EST 2012


Hi Carl,

The URL on the Wiki is incorrect. It should be:
http://host:port/buckets/mybkt/keys

I will make sure the Wiki is updated.

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at basho.com


On Tue, Jan 24, 2012 at 7:12 AM, Carl <async17 at hotmail.com> wrote:

>  I am trying to write a record with Riak supplying the key.  According to
> the information at
> http://wiki.basho.com/HTTP-Store-Object.html the following should work:
>
> curl -X POST -d "foo" -H "Content-Type: text/plain" http://host:port
> /buckets/mybkt
>
> But when I try it I get a 404 "Not found" error.  Adding "/keys/k1" to the
> end of the URL makes it work.  Is the wiki page incorrect?
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20120124/5b486b7d/attachment.html>


More information about the riak-users mailing list