To enable cross-origin requests, add the [EnableCors]
attribute to your Web API controller or controller method:
[EnableCors(origins: "http://systematixindia.com", headers: "*", methods: "*")]
public class TestController : ApiController
{
// Controller method`enter code here`s not shown...
}
Read More