{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1386","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1386/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1386/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1386/events","html_url":"https://github.com/couchbase/sync_gateway/issues/1386","id":124133930,"number":1386,"title":"[REST] Inconsistent behavior between POST :4984/db/ and :4984/db  ","user":{"login":"sethrosetter","id":1365736,"avatar_url":"https://avatars.githubusercontent.com/u/1365736?v=3","gravatar_id":"","url":"https://api.github.com/users/sethrosetter","html_url":"https://github.com/sethrosetter","followers_url":"https://api.github.com/users/sethrosetter/followers","following_url":"https://api.github.com/users/sethrosetter/following{/other_user}","gists_url":"https://api.github.com/users/sethrosetter/gists{/gist_id}","starred_url":"https://api.github.com/users/sethrosetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethrosetter/subscriptions","organizations_url":"https://api.github.com/users/sethrosetter/orgs","repos_url":"https://api.github.com/users/sethrosetter/repos","events_url":"https://api.github.com/users/sethrosetter/events{/privacy}","received_events_url":"https://api.github.com/users/sethrosetter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T22:12:47Z","updated_at":"2015-12-28T22:19:47Z","closed_at":"2015-12-28T22:19:47Z","body":"Using \"Couchbase Sync Gateway/1.2.0(14;dc01e66)\" Possible dupe of https://github.com/couchbase/sync_gateway/issues/1326, however, I wanted to filed a separate issue, as this is an inconsistency on a public REST endpoint and the other issue includes only Admin endpoints as examples.\r\n\r\nExpected behavior\r\nPosting a doc to :4984/db/ and 4984/db should both succeed\r\nActual behavior\r\nPosting a doc to :4984/db/ succeeds and Posting a doc to :4984/db fails"},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/167668680","html_url":"https://github.com/couchbase/sync_gateway/issues/1386#issuecomment-167668680","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/1386","id":167668680,"user":{"login":"adamcfraser","id":8866453,"avatar_url":"https://avatars.githubusercontent.com/u/8866453?v=3","gravatar_id":"","url":"https://api.github.com/users/adamcfraser","html_url":"https://github.com/adamcfraser","followers_url":"https://api.github.com/users/adamcfraser/followers","following_url":"https://api.github.com/users/adamcfraser/following{/other_user}","gists_url":"https://api.github.com/users/adamcfraser/gists{/gist_id}","starred_url":"https://api.github.com/users/adamcfraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamcfraser/subscriptions","organizations_url":"https://api.github.com/users/adamcfraser/orgs","repos_url":"https://api.github.com/users/adamcfraser/repos","events_url":"https://api.github.com/users/adamcfraser/events{/privacy}","received_events_url":"https://api.github.com/users/adamcfraser/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T22:19:47Z","updated_at":"2015-12-28T22:19:47Z","body":"I agree this is a duplicate of #1326 - added a note there to clarify the fix should cover both public and admin endpoints."}}