Hi,
I am trying to add the CORS plugin to my Kong API configuration but I struggle a bit with the testing.
Here is my configuration for the plugin on all my routes :
I am making a POST XHR request to my Kong from a webpage that has a different domain name than my Kong.
- No OPTIONS request is sent by the browser unless I define the Content-Type to ‘application/json’. Would you have an idea why?
- When the OPTIONS request is actually sent, I get a 404 with no content whereas I was expecting a 204 No Content as per the plugin seems to do.
Thank you for your help.
Kind regards,
Clément