我想发布与name =“ test”交换的消息。但这不起作用
C:\ Program Files \ RabbitMQ Server \ rabbitmq_server-3.7.18 \ sbin> curl -i -u guest:guest -H“ content-type:application / json” -X POST -d'{“ properties”: {“ delivery_mode”:2},“ routing_key”:“”,“ payload”:“ HI”,“ payload_encoding”:“ string”}'http://localhost:15672/api/exchanges/%2f/test/publish
HTTP / 1.1 500内部服务器错误 内容长度:0
请帮助