XMLHttpRequest http://172.ip.ip.ip/employee/record/details cannot load http://172.ip.ip.ip/employee/record/edit/12345. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. The response had HTTP status code 500.
I tried the below solution which i found googling... - ['Access-Control-Allow-Origin'] = '*' is already defined on server still the same exception :(
Actually its part of an Angular POST Service sending data to server after modification in response to which server should return an object but i am getting Object [Error error] undefined
In chrome network Status - Status Code:500 Internal Server Error
Any advice, whether changes are required Client side or Server side ??