Skip to content

bug: When configuring the cross-origin plugin, you must select the request method as ALL #41

Description

@next-evolve-x

Current Behavior

Let me organize the scene
API-1 /aaa* method=ALL -> Service A
API-2 /aaa/cccc method=get -> Service B
When requesting API2 for cross-origin, if only the GET request method is selected, the request will match API-1

So let's confirm
Currently, we adjust the method of API-2 to ALL to avoid it

Expected Behavior

Hope to be able to select the Option request method

Error Logs

No response

Steps to Reproduce

API-1 /aaa* method=ALL -> Service A
API-2 /aaa/cccc method=get -> Service B
When requesting API2 for cross-origin, if only the GET request method is selected, the request will match API-1

So let's confirm
Currently, we adjust the method of API-2 to ALL to avoid it

Environment

  • APINTO Dashboard version (run apinto dashboard version):v3.3.3
  • Operating system (run uname -a):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions