CORS Setting in Published Rest service

We have a native published REST Service in Mendix that as the CORS Setting enabled, as specified here 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?
1 answers

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.