Answer (Choose 1 answer)
Choose the correct information about the use of XMLHttpRequest (XHR) object to call the W
A. var xhttp = new XMLHttpRequest():
xhttp.openurl("GET". "
https://localhost:44324/api/ApiControllerName", true);
xhttp.sendrequest():
B. var xhttp = new XMLHttpRequest():
xhttp.open("POST". "
https://localhost:44324/api/ApiControllerName", true);xhttp.sendpost():
C. var xhttp = new XMLHttpRequest():
xhttp.openurl("GET", "
https://localhost:44324/api/ApiControllerName", true);
xhttp.send():
D. var xhttp = new XMLHttpRequest():xhttp.open("GET", "
https://localhost:44324/api/ApiControllerName", true);xhttp.send():
1