angular 2 Response for preflight has invalid HTTP status code 401 error
<p>I trying to create a application with angular 2,and have authentication service, when I request to my server get this error:</p>

<pre><code>Response for preflight has invalid HTTP status code 401
</code></pre>

<p>when I use postman everything is ok but use <code>xhrrequest</code> throw this error, what is my problem?</p>