Reputation: 13091
I am running a local version of Confluent (4.0) on MacOS and after starting it up and creating a topic newtopic
and going to http://localhost:18081/subjects/newtopic
- getting following error:
{"error_code":405,"message":"HTTP 405 Method Not Allowed"}
Going to http://localhost:18081/
works fine.
What should I check and how to troubleshoot?
Thanks.
Upvotes: 0
Views: 4248
Reputation: 32050
It's expecting a POST
to that [REST endpoint](https://docs.confluent.io/current/schema-registry/docs/api.html#post--subjects-(string- subject)).
Check out the quickstart for examples of using the Schema Registry.
Upvotes: 2