title: Response for preflight has invalid HTTP status code 403 on angular post request
body: <p>I am having an $http request in my localhost which is calling a url of some api. I am getting an error on executing  the call</p>
  
  <pre><code>Response for preflight has invalid HTTP status code 403
  </code></pre>
  
  <p>Can I do anything using angular so that I can fix this issue? I have CROS plugin of chrome to allow cross origin request</p>
  
  <pre><code>$http({
                  method: 'POST',
                  url: url,
                  data:data1,
                  headers: {
                      'Access-Control-Allow-Origin': '*',                 
                  }
              })
  </code></pre>