I have created the WEBAPI and trying to access the web api post method from Angular 4 application getting the following error.
Access to XMLHttpRequest at 'http://localhost:61611/api/Employees' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
And i am able to get the result from postman for api.