我的consul节点ID是 \n192.168.1.1 这样的,我想要把这个节点删除,使用/v1/agent/service/deregister/{service_id}这种方式
但直接请求时,提示method GET not allowed,我尝试着将\n转义为%5Cn,继续请求,但日志提示我\\n192.168.1.1不存在,
我需要怎么操作才能将这个\n192.168.1.1节点注销掉呢
https://discuss.hashicorp.com/t/consul-service-deregister-problem/56167
将consul停止,然后进入持久化文件中一个个的删除即可。