If I make a HTTP POST to riak, i.e http://localhost:8098/riak/mybucket along with JSON-encoded data {name: "John Doe"}, the object is saved as expected.
However, this data will be assigned to an id set by Riak automatically, something like WAqRNgxZl10FK0F3FLuorByNHgN.
Is it possible to make Riak return this id in the response of the HTTP POST?
According to the Riak documentation, it returns the new key/ID in the
Locationheader.You can see the docs here – Scroll down to “Store a new object and assign random key “