Skip to main content

Using Cross Origin Resource Sharing (CORS) in ASP.NET Web API

  1. WEB.CONFIG Code

  2. <system.webServer>
  3. <httpProtocol>
  4. <customHeaders>
  5. <add name="Access-Control-Allow-Origin" value="*"
  6. </customHeaders>
  7. </httpProtocol>
  8. <system.webServer>

Comments