Skip to content

Instantly share code, notes, and snippets.

View sadrakgunadi's full-sized avatar
🎯
Focusing

Sadrak Gunadi sadrakgunadi

🎯
Focusing
View GitHub Profile
@sadrakgunadi
sadrakgunadi / Web API CORS Preflight issues
Last active March 30, 2019 15:47
Web API CORS Preflight issues
Web Config
-----------
<system.webServer>
<httpProtocol>
<!--<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Headers" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,POST,PUT" />
<add name="Access-Control-Allow-Credentials" value="true" />
</customHeaders>-->