Created
October 14, 2014 02:26
-
-
Save ravikiranj/abc813a77a27743ffd38 to your computer and use it in GitHub Desktop.
CORS Test HTML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CORS Example</title> | |
<style type="text/css"> | |
div { | |
border: 1px solid #C0C0C0; | |
padding: 10px; | |
border-radius: 10px; | |
margin: 5px; | |
} | |
.btn { | |
display: block; | |
margin: 10px 5px; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="MSG">Error Stack</div> | |
<div id="STACK">Error Stack</div> | |
<div id="FILE">File</div> | |
<div id="LINE_NO">Line Number</div> | |
<input type="button" class="btn" onclick="window.clickMe();" value="Click Me!" /> | |
<script src="http://enablecors.appspot.com/assets/js-cors/cors.js" crossorigin="anonymous"></script> | |
<!--<script src="http://enablecors.appspot.com/assets/js/no-cors.js"></script>--> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment