Can you please help me on how do I enable CORS in FireFox and Chrome. The WebAPi is working fine with Internet but not with Chrome/Firefox.
This is what I am getting in firefox console.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:51/api/abcservice/M2. This can be fixed by moving the resource to the same domain or enabling CORS.
Thanks in advance.