Currently, I am performing a CORS request using Angular resource which is resulting in a preflight OPTIONS call being executed. This seems to be happening because of a custom header that I have included.
I am wondering if there is a way to configure this setup so that the custom header (referred to as X-Auth-Token) does not trigger an OPTIONS request. Is it possible to avoid this behavior for specific custom headers?
The OPTIONS request is causing some transaction on the server that I would like to eliminate. Any suggestions on how to achieve this?