Popular lifehacks
How do I POST in XMLHttpRequest?
How do I POST in XMLHttpRequest? To send a request to a server, we use the open() and send() methods of the XMLHttpRequest object:open("GET", "ajax_info.txt", true); xhttp. send();open("GET", "ajax_test. asp",…