CORS Plugin issue

Hi,

I am using Kong version 0.11.2

I have defined a CORS plugin on an API like this,

Now when an OPTIONS call is made by browser, a 403 Invalid CORS request is sent back.

It only happens when this header “'Access-Control-Request-Method: POST” is sent by the browser.

I manually changed and did a curl without the “Access-Control-Request-Method” and that seems to return a 200 OK.

I think its normal for a browser to send this request.

Can you please help me identify the issue.

Appreciate your help.

Thanks,
Arun

Did you get the answer? I am facing the same issue.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ