[rabbitmq-discuss] Unable to create a user through the management HTTP API
Valentin BERNARD
vbernard42 at gmail.com
Fri Dec 23 08:53:16 GMT 2011
Hi,
You need to set the "tags" key in your query. You can leave it empty
if you don't want any tags, e.g. -d'{"password": "pass","tags":""}'
Cheers,
Valentin.
On 23 déc, 06:00, Alex Grönholm <alex.gronh... at nextday.fi> wrote:
> 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
>
> {"error":"bad_request","reason":["not_boolean","undefined"]}
>
> GET type queries work fine. RabbitMQ 2.7.1. What am I doing wrong?
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list