Forked from anonymous/gist:0ca53257bb3673815179db57fd91f0e6
Created
October 7, 2017 18:21
-
-
Save mpalmr/96cd777a0f48cc5d6185575cf7a75b6d to your computer and use it in GitHub Desktop.
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
<script> | |
// alert("test"); | |
var req = new XMLHttpRequest(); | |
req.open("POST", "/api/login"); | |
req.send(JSON.stringify({"username":"test", "password":"password123"}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment