POST returns "old format" riak/bucket/key combination #313

Closed
bsparrow435 opened this Issue Apr 10, 2012 · 2 comments

Projects

None yet

3 participants

@bsparrow435
Member

For consistency, should POST return the new format i.e. "buckets/bucket/keys/key"

Contributor
evanmcc commented Aug 9, 2013

Where do we return this?

Contributor

I think this is no longer an issue.

$ curl -X POST http://localhost:8098/buckets/foo/keys -i -d "foo=bar"
HTTP/1.1 201 Created
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
Location: /buckets/foo/keys/372j55EXx03KogzjXO17B6Qfnqj
Date: Fri, 09 Aug 2013 20:25:25 GMT
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
@seancribbs seancribbs closed this Aug 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment