On Tuesday, February 10, 2015 at 4:20:53 PM UTC-8, Jens Alfke wrote:
>
>
> > On Feb 10, 2015, at 1:39 PM, Seung Chan Lim <[email protected] 
> <javascript:>> wrote: 
> > 
> > I'm trying to create a new role by making a request to the ADMIN 
> interface, but failing. 
>
> It works for me… 
>
> $ http POST :4985/db/_role/ name=newrole 
> HTTP/1.1 201 Created 
> Content-Length: 0 
> Content-Type: text/plain; charset=utf-8 
> Date: Wed, 11 Feb 2015 00:18:45 GMT 
> Server: Couchbase Sync Gateway/unofficial 
>
> PUT to /db/_role/newrole worked too. 
> What version of SG is this? Is there any middleware between you and the 
> gateway? 
>
> —Jens


Did you name your database "db" in the server config file? 

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/1043badc-0745-45f9-ba49-9d7875b40f78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to