XMLHttpRequest : EventTarget
'GET'as the method when calling
open()) or to send data to the server by making a POST request (send
'POST'as the method when calling
open()). See also fetch.
Returns a string containing all header value pairs from the response.
Returns the value for the specified
null if the headers do not contain a value for
url to read from and the http method (
'DELETE', etc) to use when reading the url. If
true, the request will be asynchronous and you should provide an
onload callback to be called when the read completes. In general, it is best to use the asynchronous request so the browser remains responsive while the request is in progress. Call
send() to begin the request.