Skip to content

Instantly share code, notes, and snippets.

@iUltimateLP
Created July 6, 2017 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iUltimateLP/3bf0912f392e007d5d1dce6905c5219d to your computer and use it in GitHub Desktop.
Save iUltimateLP/3bf0912f392e007d5d1dce6905c5219d to your computer and use it in GitHub Desktop.
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "localhost:8080/secure", true);
xmlhttp.setRequestHeader("Authorization", "Basic logout");
xmlhttp.send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment