Skip to content

docs: Wrong URL specified on "Expose API" page while testing. #9304

@Revolyssup

Description

@Revolyssup

Current State

On this page, the uri to match is specified as /anything/* but the request is sent on /get?foo1=bar1&foo2=bar2 which returns 404: route not found as the route was defined for /anything/*

Screenshot 2023-04-13 at 3 19 20 PM

Desired State

According to the last comment APISIX will forward the request to http://httpbin.org:80/anything/foo?arg=10 and the route config, the command should be changed to:
curl -i -X GET "http://127.0.0.1:9080/anything/foo?arg=10" -H "Host: example.com"
Screenshot 2023-04-13 at 3 21 12 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    docDocumentation things

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions