CORS, prevent preflight of request with Authorization header
<p>AngularJS transforms my <code>POST</code> request into <code>OPTIONS</code> when I add <code>Authorization</code> header:</p>

<pre><code>  $http({
    url: ApiEndpoint + 'logout',
    method: 'POST',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
      'Authorization': UserService.getApiKey()
    }
  })
</code></pre>

<p>I'm developpling a hybrid mobile application with Ionic that I test in browser, os it's a CORS request.</p>

<p>I have already seen <a href="https://stackoverflow.com/questions/22968406/how-to-skip-the-options-preflight-request-in-angularjs">this</a> question. The proposed workaround is to change  <code>Content-Type</code> that I did and it worked without <code>Authorization</code>. With <code>Authorization</code> header the request is changed again to OPTIONS method.</p>

<p>Can you propose client solution please because a have no control over server API.</p>

<p>Thank you.</p>