When a web app (js) is hosted on a remote server, XMLHttpRequest will perfom an "OPTIONS" query (according to CORS standard) to check allowed origins.
Unfortunately, the dataAPI doesn't support "OPTIONS" queries, resulting in an HTTP 405 error. It means we are unable to consume dataAPI when an web app is deployed on another server (like when using a FileMaker cloud instance).
This feature request include 2 thing :
- add support for "OPTIONS" http requests
- add an option in FileMaker server's admin console to manage allowed origins (Access-Control-Allow-Origin headers) so it won't be erased each time we update FileMaker Server