Last post Mar 06, 2017 08:49 AM by Cathy Zou
Mar 05, 2017 01:56 AM|sanjaykumar pushadapu|LINK
OPTIONS http://localhost:57590/api/Employee/CreateEmployee 405 (Method Not Allowed)
localhost/:1 XMLHttpRequest cannot load http://localhost:57590/api/Employee/CreateEmployee. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100'
is therefore not allowed access. The response had HTTP status code 405.
Mar 05, 2017 12:04 PM|Khanna Gaurav|LINK
Mar 05, 2017 07:10 PM|Khuram.Shahzad|LINK
You need to enable webapi CORS to make this call.
Mar 06, 2017 08:49 AM|Cathy Zou|LINK
Refer to the following links: