What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-12 23:44:05
xhr post send
var xhr = new XMLHttpRequest(); xhr.open("POST", '/url', true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function() { // Call a function when the state changes. ... Add solution