incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svilen>
Subject auto-generated user _id by POST?
Date Thu, 14 Mar 2013 08:52:01 GMT
i was trying to create a new user without specifying name/id, but seems
cannot do it:

$ curl  -X POST http://server:5984/_users -H 'Content-Type: application/json' -d '{"password":"mysecret",
"type":"user", }' 

{"error":"forbidden","reason":" is required"}

tried with name:null but same. 

is this possible or forbidden by design?


View raw message