Are you using IIS?Hi! Im new developer who has tried to solve problems with cors alone, now I have come to the conclusion that it is better to ask for help.
You must be registered for see images attach
Are you using IIS?Hi! Im new developer who has tried to solve problems with cors alone, now I have come to the conclusion that it is better to ask for help.
You must be registered for see images attach
Yes thank you! After deleting cache i found out this solved the problemAre you using IIS?
If so add these into your web.config
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET, POST, OPTIONS, PUT, DELETE" />
<add name="Access-Control-Allow-Headers" value="Content-Type, Authorization" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>