The browser is blocking a cross-domain request as it usually allows a request in the same origin for security reasons.
You can simply add the following code in your web.config file of remote site when you want to do a cross-domain request.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
Article ID: 1980, Created: August 31, 2018 at 8:26 PM, Modified: August 31, 2018 at 8:26 PM