RabbitMQ REST HTTP JSON payload
问题 I am trying to use RabbitMQ HTTP REST client to publish messages into the queue. I am using the following url and request http://xxxx/api/exchanges/xxxx/exc.notif/publish { "routing_key":"routing.key", "payload":{ }, "payload_encoding":"string", "properties":{ "headers":{ "notif_d":"TEST", "notif_k": ["example1", "example2"], "userModTime":"timestamp" } } } And getting back from the rabbit the following response: {"error":"bad_request","reason":"payload_not_string"} I have just one header set