MCQ Single Best Answer Easy

QWhich code should be used to initiate an HTTP GET request?

ID: #5221 Javascript Scripted HTTP MCQ 135 views
Question Info
#5221Q ID
EasyDifficulty
Javascript Scripted HTTP MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A request.open(
  • B request.open(GET,
  • C request.open(
  • D request.open(
Correct Answer: Option C

Explanation

request.open("GET","data.csv"); initiates an HTTP GET request for the contents of the specified URL.
The open() and send() methods of the XMLHttpRequest object are used to send a request to a server.

Share This Question

Challenge a friend or share with your study group.