etcd-adapter
etcd-adapter copied to clipboard
chore: override the ETCD put and delete methods
POST doesn't work either.
How to replicate:
-
Use the MySQL configuration
-
Create a route:
curl -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X POST -d '{ "methods": ["GET"], "uris": ["/get"], "upstream": { "nodes": { "httpbin.org:80": 1 } } }' http://localhost:9180/apisix/admin/routes -
Test the route:
curl localhost:9080/get
Result: {"error_msg":"404 Route Not Found"}
Also, getting all routes returns {"header":{"revision":"1689689596"},"message":"Key not found"}
Should I open new issues?