I'm trying to create a new role by making a request to the ADMIN interface,
but failing.
I tried a POST request to localhost:4985/db/_role/ with body {"name":
"newrole"} which got me a 405 method not allowed.
I tried a PUT request to localhost:4985/db/_role/ with body {"name":
"newrole"} which got me a 405 method not allowed.
I tried a PUT request to localhost:4985/db/_role/newrole with body {"name":
"newrole"} which got me a 405 method not allowed.
I tried a POST request to localhost:4985/db/_role/newrole with body
{"name": "newrole"} which got me a 405 method not allowed.
What is the proper way to create a new role?
slim
--
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/5a3da2c3-3e07-46e9-b30c-a2edbd5a2a20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.