The _________ method of an XMLHttpRequest object is used to send the request to a server.

  • request()
  • open()
  • send()
  • fetch()
The correct method to send a request to a server using an XMLHttpRequest object is the send() method. It sends the request to the specified URL, initiating the request to the server. The open() method is used to set up the request, while fetch() is used with the Fetch API.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *