Hi,

you specify username, password and email in the body (payload) of the POST as Key:Value pairs.

Code from the API method: ( https://galaxy-central.readthedocs.org/en/latest/_modules/galaxy/webapps/galaxy/api/users.html#UserAPIController.create )

username = payload[ 'username' ] email = payload[ 'email' ] password = payload[ 'password' ]

There are also other conditions that need to be fulfilled (e.g. user creation has to be turned on in the configuration) - you will find these when you look at the source code of the method (because the documentation is not perfect yet, sorry).

M.


On Sun, Dec 29, 2013 at 11:22 PM, xlwang <xlwang_0903@163.com> wrote:
hi,
I still have some confusion.
post /api/users , when i use postman, it seems like this:


 No other parameters? How to confirm the new user's information?Such as user name, password.
Can you give me a example please?Thank you!

At 2013-12-30 06:04:15,"Martin Čech" <marten@bx.psu.edu> wrote:
Hello,

to create a user through API you send a POST request to /api/users

More information about User API here:


Martin


On Fri, Dec 27, 2013 at 5:11 AM, xlwang <xlwang_0903@163.com> wrote:
hello,
I want to create users through Galaxy API.For example, I can get users information through url like this(use postman):
But how to create a user?



___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/