Replies: 1 comment
-
this is problem as i use curl cmd to trigger a http call. as we validate cors request. the best way that use another http server. anyone hit this issue can try like below steps.
2.start a http server, here i started server with python. nginx also can do it
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
here is a simple code of apisix cors plugin. after i read the apisix doc of cors usage. i add a router like this。
then i access ams/usercenter router as apisix gateway ip+port as below
i expected the request i send should fail as the cors allow_origins param. but cors plugin config seems does not work as i expected. anyone has any idea about this.
i used apisix with 3.8.0 version.
Beta Was this translation helpful? Give feedback.
All reactions