When I use API to create a user, I get an error! And this time I use the galaxy instance from galaxy-central.
The command is:
    #curl -d '{"username":"test","password":"test","email":"123@123.com"}' http://myip:8080/api/users?key=my_key
I get some information:
 
 
And the web server give me some error information:
 
galaxy.web.framework ERROR 2014-01-14 17:18:42,257 Uncaught exception in exposed API method:
Traceback (most recent call last):
  File "/galaxy-central/lib/galaxy/web/framework/__init__.py", line 197, in decorator
    rval = func( self, trans, *args, **kwargs)
  File "/galaxy-central/lib/galaxy/webapps/galaxy/api/users.py", line 97, in create
    username = payload[ 'username' ]
KeyError: 'username'
10.10.10.1 - - [14/Jan/2014:17:18:42 +0800] "POST /api/users?key=e2424e1d238292b5dfe4e3fdcc411dd1 HTTP/1.1" 500 - "-" "curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5"
 
I don't know why it happened. Please help me to fix this error. Thank you!