Multiple choice technology

Which method is used to send off a request to the server

  1. GET

  2. send

  3. POST

  4. getXMLHttpRequest

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In the XMLHttpRequest API, the send() method is used to actually send the HTTP request to the server after it has been opened with open(). GET and POST are request methods passed to open(), not methods themselves. getXMLHttpRequest is not a standard method.