Cross-Origin Request Blocked

satanand
edited November -1 in Support Forums

I have make some api and hosted on domain http://satanand.unaux.com.
I want to make an angular app to server front-end for users. But i am not able to access api from this server. This is working fine if I host api at localhost environment.

Please help me out form the given issue. I had got below error while making api call.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://satanand.unaux.com/XXXX/XXXX/XXX. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).[Learn More]
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://satanand.unaux.com/XXXX/XXXX/XXX. (Reason: CORS request did not succeed).[Learn More]