apinto-dashboard icon indicating copy to clipboard operation
apinto-dashboard copied to clipboard

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

Open next-evolve-x opened this issue 1 month ago • 1 comments

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):

next-evolve-x avatar Oct 27 '25 04:10 next-evolve-x

Is it okay to add Option to the front-end modification?

Image

next-evolve-x avatar Oct 27 '25 04:10 next-evolve-x