Last active
April 2, 2020 16:08
-
-
Save pranav1hivarekar/48a61d55ca1e67b5a064d63194cfc5e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<html> | |
<body> | |
<h1>The XMLHttpRequest Object</h1> | |
<button type="button" onclick="loadDoc()">Request data</button> | |
<p id="demo"></p> | |
<script> | |
var xhttp = new XMLHttpRequest(); | |
xhttp.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { | |
document.getElementById("demo").innerHTML = this.responseText; | |
} | |
}; | |
xhttp.open("GET", "https://vwvi1tb12oy1y1kxr1113icev51wpl.burpcollaborator.net", true); | |
xhttp.send(); | |
</script> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment