Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

What is the purpose of the open method in making an AJAX request?

Click the option that best answers the question.

  • To specify the type of request and the URL
  • To handle the response from the server
  • To create an instance of the XMLHttpRequest object
  • To parse the response as JSON