[rabbitmq-discuss] Unable to create a user through the management HTTP API

Alex Grönholm alex.gronholm at nextday.fi
Fri Dec 23 05:00:33 GMT 2011

curl -i -u redacted:redacted -H 'content-type:application/json' -XPUT 
-d'{"password": "pass"}' http://localhost:55672/api/users/testuser
HTTP/1.1 400 Bad Request
Server: MochiWeb/1.1 WebMachine/1.7 (participate in the frantic)
Date: Fri, 23 Dec 2011 04:56:55 GMT
Content-Type: application/json
Content-Length: 60


GET type queries work fine. RabbitMQ 2.7.1. What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20111222/10172687/attachment.htm>

More information about the rabbitmq-discuss mailing list