knowing that my kafka_cluster work fine and I'm using docker-compose I put inside the container :registery schema
curl -X POST -H "Content-Type: application/vnd.kafka.v1+json" \
--data '{"name": "my_consumer_instance", "format": "avro", "auto.offset.reset": "smallest"}' \
http://rest-proxy:8082/consumers/my_avro_consumer
curl: (6) Could not resolve host: rest-proxy