adplus-dvertising
frame-decoration

Question

Which is the appropriate code to begin a HTTP GET request?

a.

request.open("GET","data");

b.

request.open(GET,"data.csv");

c.

request.open("GET","data.csv");

d.

request.open("GET");

Posted under JavaScript

Answer: (c).request.open("GET","data.csv");

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which is the appropriate code to begin a HTTP GET request?

Similar Questions

Discover Related MCQs

Q. Which of the following are the features of jQuery?

Q. Which of the following is a single global function defined in the jQuery library?

Q. Which of the following is a factory function?

Q. Which is the code that asks for the set of all div elements in a document?

Q. Which is the method that operates on the return value of $()?

Q. Consider the following code snippet:

<script src="jquery-1.4.2.min.js"></script>

What does the min mean?

Q. Which of the following is a heavily overloaded function?

Q. Which of the following is an equivalent replacement of $(document).ready(f)?

Q. Which of the following is a utility function in jQuery?

Q. Which of the following is used for parsing JSON text?

Q. Which are the forms of client-side storage?

Q. Which is the storage that allows the caching of web pages and their associated resources?

Q. Which is the Microsoft's own proprietary client-side storage?

Q. Which object supports Filesystem API?

Q. Which is the most appropriate database for developers requiring huge amount of data?

Q. The localStorage and sessionStorage belongs to

Q. What is the main difference between localStorage and sessionStorage?

Q. What is the lifetime of the data stored through localStorage?

Q. Which is the function used to retrieve a value?

Q. Which is the function used to store a value?