title: No "Access-Control-Allow-Origin" header is present
body: <p>I have put the parameter in the web.config of the web.api that is being called. I even put it in the webapiconfig.cs to allow all sites hit the web.api. Even put it on the controller. And I still get this message? The calling website is sending json over to my web api. Why would I , could I be getting this error? What information can I give you guys to help me figure out this issue?</p>
  
  <p>In reply to the solutions listed below: Here is the piece of my web.config....I put the wildcard of asterisk in it:</p>
  
  <pre><code>&lt;httpProtocol&gt;
    &lt;customHeaders&gt;
      &lt;add name="Access-Control-Allow-Origin" value="*" /&gt;
      &lt;add name="Access-Control-Allow-Methods" value="*"/&gt;
      &lt;add name="Access-Control-Allow-Headers" value="*" /&gt;
    &lt;/customHeaders&gt;
  &lt;/httpProtocol&gt;
  </code></pre>
  
  <p>Within my webapiconfig.cs file I have the following as well:</p>
  
  <pre><code>{
      // enable CORS
      config.EnableCors(new EnableCorsAttribute("*", "*", "*", "*"));
  }
  </code></pre>
  
  <p>And here is my controller. I know, overkill, but I am trying to figure out this issue:</p>
  
  <pre><code>[EnableCors(origins: "*", headers: "*", methods: "*")]
  public class ExampleController : ApiController
  </code></pre>