Skip to content

Conversation

@tokers
Copy link
Contributor

@tokers tokers commented Jan 4, 2022

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

Copy link

@membphis membphis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing test cases?

@bzp2010 bzp2010 mentioned this pull request May 21, 2022
@nfrankel
Copy link

nfrankel commented Jul 18, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants