title: Http.Delete doesn't work
body: <p>Http.Delete doesn't working on angular 5.2.0</p>
  
  <p>The Code is:</p>
  
  <pre><code>let headers = new HttpHeaders({ 'Content-Type': 'application/json' });
  this.http.delete(this.url + encodeURIComponent(key.id), {headers : headers})
                             .toPromise();
  </code></pre>
  
  <p>The error message is:
  Failed to load <a href="http://localhost/project/bfd19ece-f4a1-4935-ae3f-d5ea28969871" rel="nofollow noreferrer">http://localhost/project/bfd19ece-f4a1-4935-ae3f-d5ea28969871</a>: Response for preflight has invalid HTTP status code 403</p>
  
  <p><a href="https://i.stack.imgur.com/RhwT2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RhwT2.jpg" alt="enter image description here"></a></p>
  
  <p>Edit: 
  The delete is working using fiddler composer</p>
  
  <p>Edit:
  The problem is solved by open chrome by run this</p>
  
  <pre><code>chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
  </code></pre>
  
  <p>From this link: <a href="https://stackoverflow.com/questions/20035101/why-does-my-javascript-get-a-no-access-control-allow-origin-header-is-present">Here</a></p>
  
  <p>Thanks in advance.</p>