It’s as easy as editing the web.config
file with the below:
1 2 3 4 5 6 7 8 9 10 11 12 | <? xml version = "1.0" encoding = "UTF-8" ?> < configuration > < system.webServer > < httpProtocol > < customHeaders > < add name = "Access-Control-Allow-Headers" value = "Authorization,Accept,Content-Type,X-Requested-With" /> < add name = "Access-Control-Allow-Credentials" value = "true" /> </ customHeaders > </ httpProtocol > </ system.webServer > </ configuration > |