[rabbitmq-discuss] Setting the local-nodename parameter value via HTTP?

Emile Joubert emile at rabbitmq.com
Tue Feb 12 10:19:16 GMT 2013


Hi Matt,

On 12/02/13 02:13, Matt Pietrek wrote:
> Method: PUT
> URL: /api/parameters/federation/%2f/local-nodename
> Body: {"name": "local-nodename", "value": "mq_mpietrek"}
> 
> No matter what I try, I get back a 404.

This works fine for me (without the "name" entry):

curl -i -u guest:guest -H "content-type:application/json" -XPUT
-d'{"value":"nodename"}'
http://host:15672/api/parameters/federation/%2f/local-nodename

Does GET /api/parameters/federation work? Do you get the same error with
a commandline HTTP request?



-Emile





More information about the rabbitmq-discuss mailing list