etcd-adapter icon indicating copy to clipboard operation
etcd-adapter copied to clipboard

chore: override the ETCD put and delete methods

Open tokers opened this issue 4 years ago • 1 comments

Signed-off-by: Chao Zhang [email protected]

tokers avatar Jan 04 '22 09:01 tokers

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?

nfrankel avatar Jul 18 '23 14:07 nfrankel