CORS Setting in Published Rest service - Mendix Forum

CORS Setting in Published Rest service

0

We have a native published REST Service in Mendix that as the CORS Setting enabled, as specified here https://docs.mendix.com/refguide/cors-settings.

However whenever we send an OPTIONS request it seems that this is not handled correctly, what does this setting do exactly? Did anyone get the REST service to working with CORS enabled?

asked
1 answers
2

When you configure CORS settings, your operations will have additional CORS headers.

If you need OPTIONS, then you need to add an extra operation that handles OPTIONS requests.

answered